-
Notifications
You must be signed in to change notification settings - Fork 103
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
Mysql is not starting #57
Comments
Hey Marwan, thanks for reporting this! These issues are kind of heisenbugs so they're really difficult to debug but I'll try to help if I can. Firstly, can you share which platform you're running Docker on? Is it Windows, Mac, Linux? It might be that the port 3306 is blocked by some process on your local machine (outside Docker). Do you happen to have a MariaDB running locally? If so, please try stopping it and see if it works now. Besides that, can you share some of the workarounds that you tried? It might help us diagnose what's wrong. |
Thanks tomsik, I was using this docker image a few months ago, using PHP 8, it was working properly. I'm running docker on Ubuntu 20.04 |
Good, can you check whether anything is using your port 3306? This command should help: $ sudo netstat -ntlp |
This is the output
|
I apologize, I don't see why MariaDB isn't starting for you and I'm not sure where to look next. I'll leave this open just in case anyone has a solution. |
I'm running docker on Ubuntu 20.04 as well, and my Mysql is not starting either. After hour-long troubleshooting, I found my symptom is exactly as reported at https://serverfault.com/questions/1103333/mariadb-10-8-3-in-docker-cant-initialize-timers, i.e., the error is
|
Sadly same here , couldn't find any solution. |
I started the container:
docker run --name myXampp -p 41061:22 -p 41062:80 -d -v ~/my_web_pages:/www tomsik68/xampp:8
and connected to it using SSH:
ssh root@localhost -p 41061
And trying to start the server:
/opt/lampp/lampp restart
But Mysql never started, tried many work-arounds but failed:
Version: XAMPP for Linux 8.2.4-0
Apache is running.
MySQL is not running.
ProFTPD is running.
Also I deleted the container, and started new one, but same issue "MySQL is not running."
The text was updated successfully, but these errors were encountered: