This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-15. For the latest, interactive version please visit https://mariadb.com/kb/.

Move data directory on Windows server

Hello, On MariaDB over Windows server 2012, i try move data directory "datadir=C:/Program Files/MariaDB 10.1/data" from C:\ to a new location on drive D:\Mydata I modify my.ini file with the new value "datadir=D:/Mydata" but after this the service mysql don't start, it start only when "my.ini" file is configured with "datadir=C:/Program Files/MariaDB 10.1/data" so i can not move data from C to D. What i can do for this problem ? Thanks, regards

Answer Answered by Ian Gilfillan in this comment.

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.