0 items
24/7 Support & Sales   1300 210 210
Online Support Web Hosting

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.

  1. With a Windows machine, go to Start > Run > cmd. With Mac, you will need to open your Terminal application.
  2. 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).
  3. 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.
  4. 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.

Was this helpful? Yes No 73% of people found this helpful.