Jump to content

Database restore fails


Recommended Posts

Hi Guys im new to presta shop but im trying to restore my DB to a new site.

 

im using these instructions

 

How-to restore a database Backup in 10 easy steps

  • Turn off the "Enable Shop" option in the "Preferences" tab.
  • Download the Backup from the list below or from your FTP server (in the folder "admin/backups").
  • Check the Backup integrity: look for errors, incomplete file. Verify all your data.
  • Ask your hosting provider for a "phpMyAdmin" access to your database
  • Connect to "phpMyAdmin" and select your current database
  • Unless you enabled the "Drop existing tables" option, you must delete all tables from your current database.
  • At the top of the screen select the tab "Import"
  • Click on the "Browse..." button and select the Backup file from your hard drive
  • Check the max. allowed filesize (ie. Max: 16Mb)
    If your Backup file exceeds this limit, contact your hosting provider
  • Click on the "Go" button and wait during the import, the process can take several minutes

im getting this error when trying to restore

 

SQL query:

/* Scheme for table ps_emailmaster */ DROP TABLE IF EXISTS `ps_emailmaster` ;

MySQL said: b_help.png

#1217 - Cannot delete or update a parent row: a foreign key constraint fails

 

 

 

 

am i doing something wrong?

Link to comment
Share on other sites

×
×
  • Create New...