Restore a Database using phpMyAdmin - smalos/nuBuilder4-Code-Library GitHub Wiki
Carry out the following steps to restore your MySQL/nuBuilder database by importing a MySQL backup file in phpMyAdmin. You will have to manually delete all the tables (or delete and recreate the database) before restoring your database dump.
-
Login to phpMyAdmin.
-
Select the nuBuilder database from the list of databases on the left pane. All tables/views in the database will be listed.
-
Head to the right pane and click the option "Check all" at the bottom of the list to select all tables/views in the database.
-
Click the box "With selected": and choose Drop. This will execute the DROP TABLE SQL query on all tables and once you confirm that you wish to proceed the database will be emptied.
-
In the left navigation tree click the nuBuilder database you want to import the backup file into.
-
Click on the 'Import' tab.
-
Click on the button named "Choose File" (or similar, depending on the local language)
-
In the dialog, locate the database backup file stored on your computer and click 'Open'. You should see your chosen file name shown next to the Choose File button.
-
Click the 'Go' button.