Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've hosted my site on a server provider that I got cheaply. Recently when the traffic to the site increased suddenly I started getting a Database Error and when I try to login to the wordpress dashboard, I'm getting a message that perhaps the username and password in the wp-config.php file might be wrong. So, I logged onto my cpanel and created a new user for the MySQL database and when I replaced those parameters in the wp-congig file, the site started working again but only for a few minutes!! I started getting the error again! And this has become a routine. I'm not able to understand where the problem is! Tried to contact Support but they couldn't do anything either. It worked consistently for a full day when I installed Hyper Cache plugin but then again it was back to normal. Is there anything I can do??

share|improve this question
Did you consider getting a more powerfull server? – TomTom Jun 25 '11 at 11:29
Yes, that's something I'm gonna do right away. I just wanted to know what's causing the problem – Uday Kanth Jun 25 '11 at 18:23

If the password you have configured for the database stops working, and you need to keep creating new users / passwords then I'm afraid someone is changing them.

If you're not - and your hosting provided isn't - then someone else has access to your server ...

(Unless wp-config.php keeps resetting to some default value, but it's more likely that someone's got access they shouldn't have)

share|improve this answer
Yea that's what I thought, but it happened like a couple of dozen times or i wondered who would have so much determination to keep changing the passwords! – Uday Kanth Jun 25 '11 at 18:26

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.