MySQL Installation

After installing MySQL, go to MySQL directory on your pc, open the file my.ini and change the data directory where you’ll store all your data in the future.  By default, it’ll define your pc’s Documents directory as shown below.

datadir=”C:/Documents and Settings/All Users/Application Data/MySQL/MySQL Server 5.1/Data/”

However you can point it to Data directory under MySQL dir.