Question

I just want to know how to back up data From MYSQL database and Still be able to use that data again on reinstalling MYSQL ?

NOTE-- i got into this problem after changing my ROOT password . I posted a question regarding fixing this .But unfortunately don't got the solution .So i decided the last step will be to BACK UP my data ! Here is a LINK to that post

Can't connect after changing MySQL root password in WAMP

P.S----I HAVE NO ACCESS TO PHPMYADMIN

Was it helpful?

Solution

go to your wamp installation drive, and then go to wamp folder traverse it if the drive is C: and installation folder is WAMP C:\wamp\mysql\data\ you will see the folder as the name of your database here copy it to other place and paste it after reinstall phpmyadmin in the same position

OTHER TIPS

Okay, assuming that you know the new/old/current root passwords run the following

mysqldump -u root --all-databases -p

This should ask you the password and dump sql onto the stdout.

To save it to backup.sql,

 mysqldump -u root --all-databases -p > backup.sql
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top