How I can connect to my local database?
(firewall in the local machine is disabled)
What can I do?
Thank’s
How I can connect to my local database?
(firewall in the local machine is disabled)
What can I do?
Thank’s
mysql -h 127.0.0.1 -u root -p
works for me!
try this instead
mysql -h localhost -u root -p
Ok. My final thought (out of more ideas): check the MySQL connect address at devilbox control panel.
See my image. I can connect to both 172.16.238.12 and 127.0.0.1.
I don’t compose container with mysql. I use mysql only in local machine, and want to connect with it from container. Is it impossible?
Sorry, I’m not sure. Maybe someone else can help?
Maybe, but I am very grateful to you
the problem resolved by itself. I carefully read the documentation again. Maybe someone will need my experience
mysql -h 172.16.238.1 -u root -p
and everything works