

IF this happens to you, there is another way to change the default location. This way, as you save a file to the systems Documents folder, it will automatically save to the 2 TB hard drive instead.īUT, I have had problems in the past with using the Windows 10 System >Storage >Change where new content is saved settings. Move the files from this datadir path to the path in which you want the data to reside, and then also update the datadir parameter with this new path.Essentially, you can save a lot of space on your C drive by moving all of your basic default folder locations ( Documents, Photos, Music, etc ) from the C drive to the other hard drive.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\MySQLXX in the ImagePath REG_EXPAND_SZ value. Location is a REG_SZ that points to the folder where the MySQL application files are located by default: C:\Program Files\MySQL\MySQL Server x.x\ĭataLocation is a REG_SZ that points to the folder where my.ini is located by default also: C:\Program Files\MySQL\MySQL Server x.x\Īlso, the my.ini file path is included in the service command under this registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\MySQL AB\MySQL Server x.x\ The location of the registry values are (at least as of MySQL 5.6): For Windows, as of the MySQL Installer 1.4.6 (), the data location may be specified in a registry key that specifies the location of the my.ini file, so if the data was initially installed in a non-default location the my.ini file won't be in C:\ProgramData\MySQL\MySQL Server x.x\.
