Report this

What is the reason for this report?

Remote access to MySQL not working after following a ton of tutorials. What am I missing?

Posted on November 9, 2017

I’ve changed bind-address to 0.0.0.0 and today changed it to the IP of my server which still doesn’t work. The MySQL user I’m trying to connect with has host set as % and I’ve of course restarted MySQL a bunch of times. To test if the connection works I’m using XAMPP for windows and running “mysql -h SERVERIP -u user -p” to see if I can connect which it cannot. (Error 10060)



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
0

Accepted Answer

MySQL is a plaintext protocol, do not expose it to the internet and use it over a SSH tunnel instead.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.