Error establishing a database connection
-
Hi all,
I seem to be having a sudden issue with my site, it’s a local host and is not live. I’ve been working on it recently when suddenly a specific function “posts” was inaccessible. Any time I try to use my site an error occurs.
One problem can be fixed by restarting the MariaDB service in the services tab (which seems to constantly turn itself off) but the posts page and any posts I have written are inaccessible. I have no idea about code and trying to find things online have made no sense to me in the slightest. I have seen several posts about something to do with “wp-config.php” and how there might be a problem with this and I have tried to use ftp to do something (I’m not entirely sure what) but the ftp cant access my localhost site either.As you can tell I’m a little out of my depth so if anyone has any solutions for a complete and utter novice that would be great.
Wordpress installed on a mac
I’ve tried to install phpmyadmin but cant figure it out
and Filezilla cant connect to the localhost filesERROR:
Error reconnecting to the database
This means that we lost contact with the database server at localhost:3306. This could mean your host’s database server is down.
Are you sure the database server is running?
Are you sure the database server is not under particularly heavy load?If you’re unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.`
This makes no sense as there is no server as far as I am aware and I’m the only user.
another error:
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:3306. This could mean your host’s database server is down. Are you sure you have the correct username and password? Are you sure you have typed the correct hostname? Are you sure the database server is running? If you’re unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.PLEASE HELP 🙁
The topic ‘Error establishing a database connection’ is closed to new replies.