Diaz Posted September 5, 2005 Posted September 5, 2005 Hi I need some help please... I am hoping I just did not do what I think I did!!! :'( Can someone please tell me where the config file is that points to the catalog database. There is this nasty feeling in my head that I might have delted the wrong database :o TIA
♥Vger Posted September 5, 2005 Posted September 5, 2005 catalog/includes/configure.php or if your website is installed in the root of your domain, then it's just: includes/configure.php However, this won't tell you whether you deleted the database or not. Vger
Diaz Posted September 5, 2005 Author Posted September 5, 2005 catalog/includes/configure.php or if your website is installed in the root of your domain, then it's just: includes/configure.php However, this won't tell you whether you deleted the database or not. Vger <{POST_SNAPBACK}> How can I find out if I have?
Diaz Posted September 5, 2005 Author Posted September 5, 2005 I am absoultely doing my nut about this... I hope I can get help! :'( This is what I am getting so far...hope this helps. 1046 - No Database Selected select configuration_key as cfgKey, configuration_value as cfgValue from configuration
Diaz Posted September 5, 2005 Author Posted September 5, 2005 // define our database connection define('DB_SERVER', ''); define('DB_SERVER_USERNAME', 'mysql'); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', 'osCommerce'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', ''); ?> Is this right, does not like it sould to me!? I am asuming that this should read "my data base names" yes?
♥Vger Posted September 5, 2005 Posted September 5, 2005 define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', 'mysql'); //don't know if that's your genuine user name define('DB_SERVER_PASSWORD', ''); //needs your mysql password here define('DB_DATABASE', 'osCommerce'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); Vger
Diaz Posted September 5, 2005 Author Posted September 5, 2005 define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', 'mysql'); //don't know if that's your genuine user name define('DB_SERVER_PASSWORD', ''); //needs your mysql password here define('DB_DATABASE', 'osCommerce'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); Vger <{POST_SNAPBACK}> I have tried changing these .. define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', 'name_name'); define('DB_SERVER_PASSWORD', 'my password'); define('DB_DATABASE', 'osCommerce'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); But its still not loading.. is there anything else here wrong?
♥Vger Posted September 5, 2005 Posted September 5, 2005 You need to check with your web hosting company to confirm your MySQL User Name and Password - because other than yourself they're the only people who will know what they are. Vger
Diaz Posted September 5, 2005 Author Posted September 5, 2005 You need to check with your web hosting company to confirm your MySQL User Name and Password - because other than yourself they're the only people who will know what they are. Vger <{POST_SNAPBACK}> Is there a way of checking this.... 1046 - No Database Selected select configuration_key as cfgKey, configuration_value as cfgValue from configuration [TEP STOP] ... and editing the data?
♥Vger Posted September 5, 2005 Posted September 5, 2005 Okay, just re-read the error you are getting now - which is telling you there is no database selected. This could also mean that you are using the wrong name for the database, or that the database is empty. Vger
Recommended Posts
Archived
This topic is now archived and is closed to further replies.