There are a lot of posts on how to change the directory of the MySQL database under Windows server2008, here's a quick step, and if you're not successful, check out other posts first.
5.1 \data changed to D:\MysqlData . 1 . Create a folder D:\MysqlData 2 " C:\Documents and Settings\All Users\Application Data\mysql\mysql Server 5.1\data " F:/mysql/data
3
#datadir="c:/documents and Settings/all users/application data/mysql/mysql Server 5.1/data/ "
Change the value of DataDir to: datadir="f:/mysql/data" after saving, restart the MySQL service.
This post mainly describes how to resolve the " unable to start problem after modifying DataDir path in Windows Server 2008 system, error 1067" issue:
In fact, there's only one simple step: Right-click Properties---security on our newly created Data folder to add Network service to groups and users (G).
MySQL cannot start the problem after modifying the DataDir path in Windows system, error 1067