Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Deleted database


Guest

Recommended Posts

Posted

I made a mistake with some SQL hacking, and deleted my entire database. Luckily, I have the entire contents backed up in csv files from Easy Populate.

 

How do I add another database to start again and import the data? The full install of PHP files are still there.

 

I've added a database shell using mySQL, I just need OSCommerce to populate the blank database. How do I get it to forget there should be one there and go through the "install" process

 

Cheers guys!

Posted

did you create a user for the database?

one thing you can do is install the default db but remove the product attributes and only keep one product. once the default is up, you can go into the back end and use tp upload

Posted

Thanks you - I don't think I created a user!

 

How to I install the default database if I try to take that option?

Posted

look in the oscommerce download, you will find one there. and next time, create a database backup.

Posted

Thank you Mibble. One last question if you have time. I've found some default databases. How do I import one of these using phpmyadmin.

 

Cheers, you've been extremely helpful.

Posted

via the query. you can copy and paste (if the default is a db which gets installed if someone wants sample data).

Archived

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

×
×
  • Create New...