This guide will help you to install MySQL to your host.
The commands below can be ran to make sure everything is up to date before continuing.
Run the following commands to install the MySQL Server and Client
To avoid issues with socket files and pid files the locations must be changed.
Edit the supervisor configuration file.
Add the additonal lines to the end of the file.
* supervisorctl is the service manager used on your host and it is responsible for running the database in the background.
Edit the MySQL server configuration
Add the additonal lines of configuration
Edit the MySQL configuration configuration
Add the additonal lines of configuration
To load the changes made you can run the commands below
You should be able now to access your MySQL Server with the command below
To harden your systems security one simple way is to run the command below
Finally to check the status of the service for MySQL you can call supervisorctl