How to Change MariaDB Data Directory on Windows

How to Change MariaDB Data Directory on Windows

How to change MariaDB Data Directory video demo explains all the steps to change the data directory of Mariadb from current/default directory to new directory.

  • Find current/default data directory location
  • Stop MySQL Service
  • Check my.ini file
  • Update my.ini to new Data Directory
  • Move existing files to new Data Directory
  • Restart MySQL Service
  • Validate if Data Directory is changed successfully by creating Database and Test tables