Sometimes it's nice to run MySQL (MariaDB) on your local machine in a completely contained environment. This outlines the minimum steps to make that happen.
- Start with
setup.shto get a root login.
- Then create a non-root user with the following:
GRANT ALL PRIVILEGES ON *.* TO 'user-name'@'localhost' IDENTIFIED BY 'user-password';
data/my.cnfwith the client username and password you just created.
- You should probably also add the entire
datadirectory to your