dmorris Posted September 12, 2002 Share Posted September 12, 2002 After installing version 2.2 this is the error i get. 1046 - No Database Selected select configuration_key as cfgKey, configuration_value as cfgValue from configuration [TEP STOP] Link to comment Share on other sites More sharing options...
seCret steVe Posted September 12, 2002 Share Posted September 12, 2002 did you place in the proper database information? Link to comment Share on other sites More sharing options...
dmorris Posted September 12, 2002 Author Share Posted September 12, 2002 I followed the onscreen prompts, and even called the hosting company and had them help on the problem. They were the ones who set up the db server information. Link to comment Share on other sites More sharing options...
Mark Evans Posted September 12, 2002 Share Posted September 12, 2002 1046 - No Database Selected The reson for this is because the database config details have been left blank. If you are using 2.1 look in admin/includes/application_top.php catalog/includes/application_top.php If you are using 2.2-CVS look in admin/includes/configure.php catalog/includes/configure.php The part you are looking for looks like this define('DB_SERVER', ''); define('DB_SERVER_USERNAME', 'mysql'); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', 'catalog'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', ''); If you are unsure of what to fill in here ask your host :wink: Mark Evans osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops) --------------------------------------- Software is like sex: It's better when it's free. (Linus Torvalds) Link to comment Share on other sites More sharing options...
Guest Posted September 20, 2003 Share Posted September 20, 2003 I too am getting the same error. I had my site running. I tried to install - Shoppe Enhancement Controller v2.2 for osCommerce MS2 with Credit Class and Gift Voucher. Getting more lost and confused I decide to use my back up and go back to the other working site. I have done so many things I have lost track of what I have and haven't done. I did go to admin/includes/configure.php catalog/includes/configure.php I added a new user with read access called mysgl and gave it a password. Left everything below except I used my IP address for the server and put in the password I setup - same error. I then tried mysql in define('STORE_SESSIONS', 'mysql'); define('DB_SERVER', ''); used IP address define('DB_SERVER_USERNAME', 'mysql'); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', 'catalog'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', ''); Same error - please help! Newbie so please talk slow ;) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.