Sign Up / Log In
Need help?
1 213 559 2459
Online Support Web Hosting

Check MySQL with Telnet

Telnet is a network protocol that you can use to directly connect to the server and check the service availability. If after confirming the credentials you're still having issues accessing a MySQL database, you can use Telnet to further test the connection. It's possible that 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 next 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 to type the command telnet 3306 (be sure to replace 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.
Need Help? Chat Now