Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ignore error "Can't connect to MySQL server on "proxy-mysql" (115)" #41

Open
gcolpart opened this issue Oct 11, 2022 · 0 comments
Open

Comments

@gcolpart
Copy link

gcolpart commented Oct 11, 2022

Hello,

When you use a proxy MySQL, you could have a system error 115 (Operation now in progress) like :

PROVISION_DB_CONNECT_FAIL : Dummy connection failed to fail. Either your MySQL permissions are too lax, or the response was not understood. See http://is.gd/Y6i4FO for more information. ERROR 2002 (HY000): Can't connect to MySQL server on 'proxy-mysql' (115)

We suggest this path on db/Provision/Service/db/mysql.php :

146a147,149
>     elseif (preg_match("/Can't connect to MySQL server on.*\(115\)/", $output, $match)) {
>       return $match[1];
>     }

Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant