Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Change which database to use


bill110

Recommended Posts

Here is my problem. I installed oscommerce on one computer to edit pages, layout etc. We also installed it on another computer for someone else to work on entering products. now we want to combine them but inadvertantly named the databases differently. how can we combine them? Thanks for any advice in advance.

My Contributions

 

Stylesheet With Descriptions Glassy Grey Boxtops Our Products Meta Tags On The Fly

Password Protect Admin

"No matter where you go....There you are" - Buccaroo Bonsai

Link to comment
Share on other sites

Here is my problem. I installed oscommerce on one computer to edit pages, layout etc. We also installed it on another computer for someone else to work on entering products. now we want to combine them but inadvertantly named the databases differently. how can we combine them? Thanks for any advice in advance.

If you only did file changes it doesn't matter much how the database on your computer is called. Just make sure the configure.php's reflect the correct database name to access and it should be okay.

Ultimately you could always create a new database on your end with the correct name and import the data from the database with the incorrect name into that (ie. by admin->backup from the faulty database and admin->backup->restore into the other, correctly named, database).

Link to comment
Share on other sites

If you only did file changes it doesn't matter much how the database on your computer is called. Just make sure the configure.php's reflect the correct database name to access and it should be okay.

Ultimately you could always create a new database on your end with the correct name and import the data from the database with the incorrect name into that (ie. by admin->backup from the faulty database and admin->backup->restore into the other, correctly named, database).

OK thanks. I just changed the configure.php on mine to the other db name transfered all files over and it worked fine. One more note, I also copied the catalog folder and saved it to my desktop. Works great for a total restore of the site without touching the database!

My Contributions

 

Stylesheet With Descriptions Glassy Grey Boxtops Our Products Meta Tags On The Fly

Password Protect Admin

"No matter where you go....There you are" - Buccaroo Bonsai

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...