Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

osc unlinked from database - help - newbie


chelseagirl

Recommended Posts

Posted

Hi,

 

I somehow messed up my configuration file and am getting this message when I go to the url for the store.

 

1046 - No database selected

 

select configuration_key as cfgKey, configuration_value as cfgValue from configuration

 

[TEP STOP]

 

Does anyone know what code I need to put back in where in order to fix this?

 

Really appreciate any help - I am a newbie. Thanks.

Posted
Hi,

 

I somehow messed up my configuration file and am getting this message when I go to the url for the store.

 

1046 - No database selected

 

select configuration_key as cfgKey, configuration_value as cfgValue from configuration

 

[TEP STOP]

 

Does anyone know what code I need to put back in where in order to fix this?

 

Really appreciate any help - I am a newbie. Thanks.

Hey if you somehow find the answer to this question please pm me as I to have the same problem. Thanks I will do the same if I find an answer.

Posted

You need to fix the DB_ settings towards the bottom of includes/configuration.php. If you're not sure of the settings, get in touch with your host for help.

 

You need to have the correct server, user name, password, and database name entered in order for OSC to connect properly.

Contributions

 

Discount Coupon Codes

Donations

Posted
You need to fix the DB_ settings towards the bottom of includes/configuration.php. If you're not sure of the settings, get in touch with your host for help.

 

You need to have the correct server, user name, password, and database name entered in order for OSC to connect properly.

 

 

Thanks, KGT. Will see if I can make changes myself, if not, will contact host. I appreciate your speedy answer.

Posted

In config file there are data base connection parameters.You need to update those.

 

Satish Mantri

 

Thanks, KGT. Will see if I can make changes myself, if not, will contact host. I appreciate your speedy answer.

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Archived

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

×
×
  • Create New...