Replies: 2
My blog is currently down with the message [i]Error establishing a database connection[/i]
I ran WP debug and got this:
Warning: mysql_connect(): No such file or directory in /home/…wp-db.php on line 1518
Error establishing a database connection
This either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at localhost. This could mean your host’s database server is down.Are you sure you have the correct username and password?
Are you sure that you have typed the correct hostname?
Are you sure that the database server is running?
I have not yet checked with my host yet, but the name and password are correct.
I was reading through this page: https://codex.wordpress.org/Common_WordPress_Errors and went to Sucuri SiteCheck as it recommended and ran a check. It said I have malware and the error was the same as the error from wp debug–but there were three of them.
Now what?