The MySQL Connection could not be established on established php website (not an installation issue)

My website URL is:

What I’m seeing is:

"Warning: mysqli_real_connect(): (HY000/2002): Connection timed out in /home/vol5_7/ on line 1612

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/vol5_7/ on line 1643

Warning: mysql_connect(): Connection timed out in /home/vol5_7/ on line 1643

Connection timed out
Error establishing a database connection


I’m using this software: PHP with installed Wordpress, site visited with a Firefox

Additional information: Root cause may be the same but it is not covered by "Softaculous: The MySQL Connection could not be established " thread (unable to use more than 2 links so no link is provided here) as it happens on an existing site rather than during installation - from what I found Softaculous is used during installation only, but I am not sure

I consulted and it appears that I avoided typical mistakes

Hi and welcome to the forum

The message Connection Timed Out implies that there is a problem establishing a connection to the database, before authentication happens.
It could be a minor outage on the database server

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.