0

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.

Shyful
  • 7
  • 2

1 Answers1

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

  1. Backup your DB: enter image description here You can chose Custom to comprise it if it is a big one

    1. After installing your new OS, Create a new one:

enter image description here

  1. Import your old database to the new created one: enter image description here
Wajih
  • 4,227
  • 2
  • 25
  • 40