Report this

What is the reason for this report?

How do I connect MySQL Workbench to my VPS?

Posted on February 21, 2014

I am wondering if any one can tell me the correct method to connect to MySQL Server on my VPS using MySQL Workbench over SSH… I tried earlier and the connection was refused…

I don’t like using phpMyAdmin on a live server!



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.

Thank you Rupert. You reply above saved me alot!

If yo’re still having issues with this, see this thread which solved the connection to MySQL Workbench for me: https://www.digitalocean.com/community/questions/trying-to-connect-to-mysql-database-server-through-mysql-workbench-using-ssh?comment=42464

Basically you’ll need to have MySQL service listen to the public IP for remote connections since by default it listens on the loopback adapter. <br> <br>Look at these two posts that might answer your question: <br>https://digitalocean.com/community/questions/how-to-create-a-secure-connection-for-workbench-to-mysql <br>https://digitalocean.com/community/questions/how-to-allow-remote-mysql-database-connection

The developer cloud

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

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Dark mode is coming soon.