Can't move datadir on MySQL for Windows
I have an install of MySQL 5.7.18 on Windows Server 2016. The default installation settings set the data directory to "C:\ProgramData\...", which is filling up. I would like to change the directory to another drive (i.e. E:\Data), but the server refuses to recognize my changes, and continues to look for a directory on the C:\ drive. Does anyone know how to fix this?
So far I have tried:
1.Changing the my.ini file + restarting the server
2.Using xcopy on the old directory to copy into a new location + updating my.ini + restarting
Subject
Written By
Posted
Can't move datadir on MySQL for Windows
May 16, 2017 12:36PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.