You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had a whole post written to explain my problem, but while writing I found the solution. The error however is very vague and led me to about 6h lost digging for a bug.
In my case the MySQL server was listening on a socket and not on localhost:3306, however connecting to the latter like below was giving an error only when executing a query, not when connecting. Nor was the error appropriate for the problem.
Then why doesn't the error from Query say so? Why does it say busy buffer, commands out of sync, when it should say connection failed? That's not by design I may hope...
I had a whole post written to explain my problem, but while writing I found the solution. The error however is very vague and led me to about 6h lost digging for a bug.
In my case the MySQL server was listening on a socket and not on localhost:3306, however connecting to the latter like below was giving an error only when executing a query, not when connecting. Nor was the error appropriate for the problem.
Example:
This fails with:
Using
unix(/var/lib/mysql/mysql.sock)
as the host fixes the problem. I'm running MariaDB 10.3.28The text was updated successfully, but these errors were encountered: