I have a database in mysql. I need uninstall windows and reinstall windows. I am afraid of what will happen my database after installation. Will I lost my database? Please , suggest me.
Asked
Active
Viewed 469 times
0
-
Take MySQL database [backup](http://stackoverflow.com/q/6682916/5180017) before reinstalling Windows and restore it after installing WIndows. – Shashanth Apr 04 '17 at 06:00
-
How do you access your database? I mean by `phpMyAdmin` or `MySql workbench` ? – Wajih Apr 04 '17 at 06:02
-
Thanks for your suggestion. – Shyful Apr 04 '17 at 06:02
-
Have you checked this directory for your db? `C:\ProgramData\MySQL` – Altmish-E-Azam Apr 04 '17 at 06:18
1 Answers
0
By default MySql
store database files in C
drive, So of course you will lose them.
For your case you can Export
your Database
, format your pc then after installing windows and MySql
, import it again.
UPDATE

Wajih
- 4,227
- 2
- 25
- 40