Unable to mysqli_connect()@mysql8 today -- mysql8 down?

Working till yesterday. Connection calls to MySQL mysql8.000webhost.com resulting in

Warning: mysqli_connect() [function.mysqli-connect]: (HY000/2003): Can’t connect to MySQL server on ‘mysql8.000webhost.com’ (113) in /home/a2941481/public_html/test.php on line 10

Free Web Hosting
Connection failed: Can’t connect to MySQL server on ‘mysql8.000webhost.com’ (113)

Any help is appreciated!

MySQL error code 113 implies “no route to destination error”.

I cannot ping mysql8.000webhost.com or check port 3306. Is the server down?

Rizwans-MacBook-Pro:budget rmian$ ping mysql8.000webhost.com
PING mysql8.000webhost.com (10.1.1.108): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2

Rizwans-MacBook-Pro:budget rmian$ ssh -vvv -P 3306 mysql8.000webhost.com
OpenSSH_6.9p1, LibreSSL 2.1.8
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to 3306 [0.0.12.234] port 22.
debug1: connect to address 0.0.12.234 port 22: No route to host
ssh: connect to host 3306 port 22: No route to host

On further investigation, MySQL server (mysql8.000webhost.com) is NOT reachable from the web-server (mybudget.netne.net). However, I can use phpmyadmin to connect/query the database. Are there new firewalls? How can I check the health status of mysql8.000webhost.com through CPanel?

details of connecting/ping from webserver:

Failed to connect to MySQL: Can’t connect to MySQL server on ‘mysql8.000webhost.com’ (113)

Warning: fsockopen() [function.fsockopen]: unable to connect to mysql8.000webhost.com:3306 (Connection timed out) in /home//public_html/test.php

Same issue with same error message.

Related