Where is my MySQL Data Directory in Windows

I am using MySQL as my primary RDBMS for my application. But over the time MySQL was occupying lot of disk space and it was essential to remove MySQL and install fresh MySQL to recover the disk space.

I uninstall the MySQL from my system but still the disk space usage was the same. After checking on google.com came to know that in Windows MySQL stores all the data in separate folder which does not gets removed when we uninstall MySQL from system.

One of the way to identify the MySQL data directory is firing the below command from MySQL command prompt.

Another way is MySQL data folder can be found at

Tagged . Bookmark the permalink.

Leave a Reply