Comments - Installing MariaDB MSI Packages on Windows
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.
How to move data directory after the installation (in case that e.g disk C:\ is getting full).
Unfortunately, this is impossible to do from the MSI (does not offer to change the DatabaseInstance location). Instead, you can do follow below recipe, Assume you want to move data from "C:\Program Files\MariaDB 5.5\data" to "D:\data"
you need to
A script below illustrates how to do it from the elevated command line. It uses robocopy to copy the files, mklink to create the directory link, icacls for setting permissions on link, and net to start/stop service