How to Change MySQL / MariaDB Default Data Directory With Old Databases- Linux
In a Linux bases system, by default MySQL/MariaDB data directory will be /var/lib/mysql. As a good practice it is always recommended to change MySQL / MariaDB Default data directory. For example in a production network where large scale applications expected to grow due to high usage. In this case it is not recommended to use…