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.sh
to 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';
- Update
data/my.cnf
with the client username and password you just created. - You should probably also add the entire
data
directory to your.gitignore
file.