Multi Instances
Running MySQL with different data directory,socket,pid
Enable the MySQL 8.0 repository
Install MySQL 8 package
Create the directory struction for the MySQL instance
Set the owner:group of the directory structure
Set the permissions of the directory structure
Initialize data directory
Check that the default MySQL tables are there
Add the initial configuration to /etc/my.cnf
Create the error log file
Set the permissions on the error log file
Dealing with SELinux
Configure the path to the datadir
Configure error log file
Configure pid directory
Configure the socket
Configure custom port for default MySQL service
Enable the service and start it
Last updated