In PHPMyAdmin, visit the Exportmenu, and there simply select Goto export the tables
Database full export
Select a place where to save the file
Database export file destination
In the tables structure, select all the tables, and select the Dropoperation
Drop tables operation
A confirmation will be requested – it is important there to uncheck the Enable foreign key checks option, otherwise tables with constraints won’t be deleted.
Drop tables confirmation, foreign keys check disabled
Once the database is empty, open the Import menu, and there, browse for the file previously exported, and click Go
Importation back of the database conent
Tables are imported and recreated, including all content, which should be confirmed by the interface