All my webpages were just migrated from one service provider to another. The support staff of the new provider migrated everything from the old server for me. The migration went well and everything was working fine on the weblog yesterday, some minor hiccups soon resolved.
Then yesterday evening I couldn’t get into the weblog. I get this 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. 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?
If you’re unsure what these terms mean you should probably contact your host.
This made no sense to me as the weblog had been operating without problems all day on the new server. Nothing had changed, and I hadn’t done anything to the config file. So I got in touch with the support people at the new server, and I sent them the wp-config.php file mentioned in the error message.
This is what I got back:
What did you edit / change since we migrated this account?
This database: rosina_wrdp3
This username: rosina_wrdp3
Does not exist.
Please can you check at [your old service provider]?
I’m at a complete loss. I didn’t change anything in wordpress beyond writing posts and tweaking the css file. How in the heck did the database suddenly sprout wrong database names? And wouldn’t it be possible to just change the database names in that config file? Wouldn’t everything work then?
My old server account is closed, so there’s no help to be had there.
So, can I just change the config file so that it’s using the correct server names? Would this not work? The hosting people seem to think it’s more complicated than that.
My WP weblog is my primary business presence, so this really hurts. Any help would be much appreciated.
- The topic ‘Trouble. Emergency. Mutating config file; how to stop it before it eats all.’ is closed to new replies.