-
Notifications
You must be signed in to change notification settings - Fork 21
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
"panic: dial tcp 127.0.0.1:3306: connect: connection refused" when start server #86
Comments
Hi @konatasick if you have no data to worry about, delete the image and volume first then retry
|
Thanks for replying. I tried your method but the problem still exists. After delete the image and volume, when I run:
I get
And I cannot open the website. So I delete them again and try:
I get
BTW, when I stop the container by
I always get
I also try to init the container and start it manually but always fail. Seems the container cannot start because the connection refused error. |
MySQL is unable to start. You can find logs for MySQL at /var/log/mysql.log which should tell us why it's not able to start. |
Experiencing the same issue |
@GFiz we just released a new version of the server that should address this problem. Can you try upgrading and report back? |
Hi @vanpelt , I'm running docker in WSL2, and the issue still persists. |
@vanpelt The
|
@llan-ml it looks like WSL2 doesn't play nicely with our internal mysql. You can run mysql directly on your machine or in a separate container. Instructions here: https://docs.wandb.ai/guides/self-hosted/setup/on-premise-baremetal#mysql-database |
@vanpelt : Still getting the "panic: dial tcp 127.0.0.1:3306: connect: connection refused". key_buffer_size=8388608 Thread pointer: 0x0 key_buffer_size=8388608 Thread pointer: 0x0 key_buffer_size=8388608 Thread pointer: 0x0 key_buffer_size=8388608 Thread pointer: 0x0 key_buffer_size=8388608 Thread pointer: 0x0 key_buffer_size=8388608 Thread pointer: 0x0 |
@GFiz you'll need to run mysql outside of the container and specify it's connection string with the MYSQL environment variable. |
@vanpelt Thank you very much; could you give me step by step instructions? |
@GFiz most of our customers run this in a cloud that provides a managed MySQL instance. We have terraform and instructions for deploying into clouds here: https://docs.wandb.ai/guides/self-hosted If you can't run this in a cloud, you can find instructions for setting things up in a bare metal environment here: https://docs.wandb.ai/guides/self-hosted/setup/on-premise-baremetal#mysql-database Ideally you would have a kubernetes cluster available and use our official helm chart to deploy MySQL. |
I met a problem similar to #7, but I cannot solve it by the method it mentions.
When I run
I get
But I cannot open http://localhost:80 or http://my_machine_ip:80
So I try:
However I get:
I also try
But it doesn't work.
The text was updated successfully, but these errors were encountered: