Guest Posted May 13, 2009 Posted May 13, 2009 Hi, Ive recently moved from to a different server and i backed up the database and the whole website. However when i have restored before i get this error; 1046 - No database selected select configuration_key as cfgKey, configuration_value as cfgValue from configuration [TEP STOP] Ive checked the username/password and database name/password and they are all correct, So i dont know whats happening or whats wrong. Thanks
BryceJr Posted May 13, 2009 Posted May 13, 2009 Check your configure.php files. define('DB_DATABASE', 'database_name');<-- This is the name of your database you created in phpMyAdmin/MYSQL Have you re-created/restore the old database in your new server/host?
FIMBLE Posted May 13, 2009 Posted May 13, 2009 you will also need to check your passwords and user names are still correct. Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
ChristianK Posted June 10, 2009 Posted June 10, 2009 Also check your MySQL account permissions are correct. I ran into this error once after I incorrectly set the allowable Hosts of the MySQL account.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.