Category: MYSQL

How to Change default MySQL Data Directory in Linux

As a System Administrator I don’t prefer to use / directory to store MySQL data files. Each time when I install MySQL for a production server, I tr ...

How to Change a Default MySQL/MariaDB Data Directory in Linux

For example, based on the expected use of the database server, we may want to change the default data directory (/var/lib/mysql) to a different locat ...