Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

HELP!! Please please


Diaz

Recommended Posts

Posted

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

Posted

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

Posted
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

 

 

How can I find out if I have?

Posted

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

Posted

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

Posted

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

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

Posted

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

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

Posted

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

Archived

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

×
×
  • Create New...