Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Database Info Changes


Danimal13

Recommended Posts

Posted

I need to change database name, username and password now that i have moved it into hosting. I can't find where the variables are located. Think you can give me a clue?

Posted
I need to change database name, username and password now that i have moved it into hosting. I can't find where the variables are located. Think you can give me a clue?

 

 

They are in the configure.php file in both the admin and the catalog folders.

 

Admin/includes/configure.php

or

admin/includes/local/configure.php

 

and

 

catalog/includes/configure.php

or

catalog/includes/local/configure.php

Just between us, remember there are only 10 kinds of people in the world; those who understand binary and those who don't!!

 

Remember, learning is a "do-it-yourself" experience; although, not necessarily a "do-it-BY-yourself" experience.

 

The quickest way to learn is to forget to BACKUP!

Posted
They are in the configure.php file in both the admin and the catalog folders.

 

Admin/includes/configure.php

or

admin/includes/local/configure.php

 

and

 

catalog/includes/configure.php

or

catalog/includes/local/configure.php

 

 

alright thank you that worked now I am getting this error:

 

1046 - No database selected

 

select configuration_key as cfgKey, configuration_value as cfgValue from configuration

 

[TEP STOP]

Posted
alright thank you that worked now I am getting this error:

 

1046 - No database selected

 

select configuration_key as cfgKey, configuration_value as cfgValue from configuration

 

[TEP STOP]

 

 

ok nevermind on that error i missed spelled the DB name

Posted
ok nevermind on that error i missed spelled the DB name

 

 

now its

 

1146 - Table 'spitfiya_oscommerce.configuration' doesn't exist

 

select configuration_key as cfgKey, configuration_value as cfgValue from configuration

 

[TEP STOP]

 

i moved the oscommerce store from my localhost to a hosting server now i need to set my database options.

So I know that is why I am getting these errors. Just not sure what I must do after i tranfer it.

Archived

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

×
×
  • Create New...