How to Change MariaDB Data Directory on Windows 10

In this video you will learn how to change data directory for MariaDB from current/default to new data directory.
Below steps are required when you perform this action.

  • 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