Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

database edit restore


CleoK

Recommended Posts

I backed up our database to my hard drive...

 

opened it with a text editor (notetab) .. corrected the prices in

 

insert into products (products_id, products_quantity, products_model, products_image, products_price, products_date_added, products_last_modified, products_date_available, products_weight, products_status, products_tax_class_id, manufacturers_id, products_ordered) values

 

using search/replace

 

saved it.. then first.. tried, via the script to restore the corrected database

 

... it reverted back to the old prices :(

 

then uploaded it to the backups directory..

 

same thing.. all changes were "un changed"

 

IS there an easy way to do this.. for dialup especially... to change the prices on close to 3000 products?

 

HELP!!!!!!!!!!!!!!!!!!

Link to comment
Share on other sites

I backed up our database to my hard drive...

 

opened it with a text editor (notetab) .. corrected the prices in

 

insert into products (products_id, products_quantity, products_model, products_image, products_price, products_date_added, products_last_modified, products_date_available, products_weight, products_status, products_tax_class_id, manufacturers_id, products_ordered) values

 

using search/replace

 

saved it.. then first.. tried, via the script to restore the corrected database

 

... it reverted back to the old prices :(

 

then uploaded it to the backups directory..

 

same thing.. all changes were "un changed"

 

IS there an easy way to do this.. for dialup especially... to change the prices on close to 3000 products?

 

HELP!!!!!!!!!!!!!!!!!!

 

Go to phpmy admin or whatever program your hosting company uses to admin your database and use the sql file with the new prices to update your database from there.

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...