Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need some advice, want to copy my database


Goanna

Recommended Posts

Posted

I have a fully loaded installation of oscommerce that has at least 60-70 contributions installed. Some little, some big. It is an active store with alot of client information, products, etc.

 

I would like to create another store that has all the same features, but I dont want to import the client data or products, etc. to the new store.

 

I tried exporting the database using structure only mode, but when I do so, the store does not function. It gives me error messages. But if I copy structure and data, it works perfectly.

 

Is there a simple way to delete all clients, sessions, etc so I can start new, short of going into the osc admin or phpmyadmin and deleting them one by one?

 

Any help would be greatly appreciated. Thanks.

Posted
I have a fully loaded installation of oscommerce that has at least 60-70 contributions installed. Some little, some big. It is an active store with alot of client information, products, etc.

 

I would like to create another store that has all the same features, but I dont want to import the client data or products, etc. to the new store.

 

I tried exporting the database using structure only mode, but when I do so, the store does not function. It gives me error messages. But if I copy structure and data, it works perfectly.

 

Is there a simple way to delete all clients, sessions, etc so I can start new, short of going into the osc admin or phpmyadmin and deleting them one by one?

 

Any help would be greatly appreciated. Thanks.

I would copy the complete store and then use phpmyadmin to empty the customer and product data.

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??

Posted

I am not fully familiar with MySQL though.

 

What codes would I need to type to recreate the tables containing data?

 

I think Customers, Orders, Sessions, Order Histroy, etc would all need to be reset. Are there any others that should be cleaned out?

Posted

u can also use mysqldump --add-drop-table --opt databasename > databackupname.sql;

Archived

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

×
×
  • Create New...