The MySQL database data file is stored by default: C:\Documents and Settings\All Users\Application Data\mysql\mysql Server 5.1\datal, where can I see it?
Of course, from the MySQL configuration file, find the MySQL installation directory, find My.ini, and then through the search to find datadir=, the following is the MySQL database file storage location, to modify is very simple, the first to change the address of the back to their desired address, Then the original storage database files in the location of all the contents are copied to the new address, and then restart the database service on the line.
PS: A quick and easy way to restart MySQL database:
In the run, enter CMD to open a command prompt window, and then enter the command:
net stop MySQL//stop MySQL Service
net start MySQL//Startup
How to view and change where MySQL database files are stored