Error connecting to database Communications link failure

Hi - I am getting the Error connecting to database Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was lost.

I am connecting to a MySQL server that is hosted via HostGator. I have tried both the domain (www.stormfitness.com) and the IP address that is shown in cPanel. I get a different error when I leave the port blank, but I got this error with the port set to 2082 which is what is shown in the URL when I access the database via phpMyAdmin.

Any help would be greatly appreciated.
1 person has
this question
+1
Reply