Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

HELP!! Please please


Diaz

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

// 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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

 

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?

Link to comment
Share on other sites

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

 

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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...