| | #1 | |
| Active Warrior War Room Member Join Date: 2011 Location: Toronto, Canada
Posts: 98
Thanks: 126
Thanked 8 Times in 8 Posts
|
My site stopped working today and returns a Database Error:
How to fix this quickly? I need my site up and running! | |
| The Green Magazine Blog Community An Eco Friendly Blog by KnowYourEarth Spreading Global Green Awareness & Education | ||
| |
| | #2 |
| HyperActive Warrior War Room Member Join Date: 2012
Posts: 168
Thanks: 0
Thanked 55 Times in 36 Posts
|
Can't connect to a wordpress database, so start by checking your wp-config.php file and making sure your database connection details are correct (and that there is a config file there!). Since it was probably working before, and isn't now, it might be because of a server change. Contact your hosting solution and check to see if they switched you out IP's, or possibly changed your MySQL connection details. If that's the case update your wp-config file.
|
| | |
| |
| The Following User Says Thank You to Nochek For This Useful Post: |
| | #3 |
| Warrior Member War Room Member Join Date: 2009
Posts: 26
Thanks: 7
Thanked 8 Times in 6 Posts
|
Have you installed any new plugins recently, or updated old ones? Sometimes buggy plugins can cause these errors. If you think this could be the case, log into your web host's FTP service and try changing the name of the folder of the suspected plugin. WordPress may begin responding again.
|
| | |
| |
| The Following User Says Thank You to unintuitive For This Useful Post: |
| | #4 | |
| Active Warrior War Room Member Join Date: 2011 Location: Toronto, Canada
Posts: 98
Thanks: 126
Thanked 8 Times in 8 Posts
|
Did not install plugins. I updated yesterday with a new post.. but it was working fine a couple of hours ago... | |
| The Green Magazine Blog Community An Eco Friendly Blog by KnowYourEarth Spreading Global Green Awareness & Education | ||
| |
| | #5 |
| HyperActive Warrior War Room Member Join Date: 2012
Posts: 168
Thanks: 0
Thanked 55 Times in 36 Posts
|
Can you connect to the FTP and get the Server Error Log? I am assuming it should just be the one in your root directory. Post the last couple of error lines here so a clearer picture can be had of the issue (but please edit out the IP's since mine is on there :p)
|
| | |
| |
| | #6 | |
| Warrior Member War Room Member Join Date: 2009
Posts: 26
Thanks: 7
Thanked 8 Times in 6 Posts
|
Some hosting companies offer a way to check the status of their servers -- if yours does, look there to see if there's any downtime being reported. | |
| | ||
| |
| | #7 |
| Active Warrior War Room Member Join Date: 2012
Posts: 42
Thanks: 0
Thanked 4 Times in 4 Posts
|
Check your file "wp-config.php". If you activate the plugin, remove your plugin from control panel, refresh and repair database table in phpmyadmin. |
| |
| | #8 |
| Developer War Room Member Join Date: 2011 Location: Dublin, Ireland
Posts: 363
Thanks: 5
Thanked 48 Times in 47 Posts
|
Check if the (MySQL) Database is still there. If so, reset password and enter the new one in the wp-config.php file
|
| |
|
| Bookmarks |
| Tags |
| database, error, urgent |
| |