Check MySQL with Telnet
Telnet is a network protocol that you can use to connect to the server directly and check the service availability. If, after confirming the credentials you are still seeing an issues accessing a MySQL database, you can use Telnet to further test the connection. It is possible the MySQL service is not running on the server at the moment but you should be able to confirm this by following these simple steps.
Please note that on newer versions of Windows, Telnet is not enabled automatically. You can turn on Telnet in your computer's Control Panel by clicking on Programs and Features, then clicking on Turn Windows features on or off and ticking the box nex to Telnet.
Below are the instructions to run a test with Telnet.
- With a Windows machine, go to Start > Run > cmd. With Mac, you will need to open your Terminal application.
- Once in the command line interface, you need go type the command telnet mydomain.com 3306 (be sure to replace mydomain.com with your own domain name).
- Hit the Enter key to activate the command. It will connect to the server using Telnet and test the port. If it is running, you will get a confirmation string beginning with the MySQL database version number.
- If the MySQL service is not running, you will receive an error "Could not open connection to the host..".
If you receive a connection failed error, the likely causes are either a temporary high load on the server, or the service is being restarted. This should clear up within minutes.
If not please contact us.
Fantastic...Thank you for your feedback =)
Sorry... Please submit a support ticket or try another search.
- How to check MySQL databases for errors
- How to restore a MySQL database backup
- The size limit of MySQL database
- How to backup MySQL databases
- How to fix a MySQL database