how to reuse old xampp mysql database and tables then old password need

how to reuse old xampp mysql database and tables then old password need

My os formatted .i install new os .and install old xampp files in d drive.

how to reuse old mysql database tables after new intallations.

答案1

If you made a backup of your database then restore it to your current installation as

mysql -u root -p NameOfDatabase < saved-database.sql

or if you prefer to do that over web interface you can do that with help of

http://localhost/phpmyadmin

where you need to create first database with the same name it was previously and upload backup

![pma](http://cdn.inmotionhosting.com/support/images/stories/phpmyadmin/import/how-to-use-phpmyadmin-to-import-a-database.gif)

相关内容