-
Notifications
You must be signed in to change notification settings - Fork 105
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
Can't connect to local MySQL server #74
Comments
On Big Sur macOS (11.2.3), i have the same issue. docker command:
Log
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I have the same issue with same error message when trying to connect to an external database. Internal database works fine.
|
Having the exact same issue using:
Log file:
Tried removing docker image and pulling it again, but no change. |
That's a permissions issue. '/var/run/mysql' is owned by mysql and it has 700 permission, so www-data cannot connect to it. Unfortunately, the only way to fix (since the container won't start up, it is creating your own image with dockerfile. I ended up creating my own docker image (using Ubuntu 22.04) and fixed it in the docker file. |
I found use tcp connect and also change the mysql auth plugin can solve this problem |
Hello,
I upgraded my docker image to the latest version today and now the container won't start anymore. The local MySQL database does fails to start.
Docker logs:
I am using the ubuntu18.04 version of the image, command:
Maybe it is related to issue #73, but I am not using an external database.
p.s.: It would be nice to have version tags on the docker images, as now I can't even roll back to a previous version.
The text was updated successfully, but these errors were encountered: