sudo mariadb -e 'CREATE DATABASE dbname'
sudo mariadb -e 'CREATE USER username IDENTIFIED BY "thePassword"'
sudo mariadb -e 'GRANT ALL ON dbname.* TO username'
sudo mariadb -e 'FLUSH PRIVILEGES'
sudo mariadb -e 'CREATE DATABASE dbname'
sudo mariadb -e 'CREATE USER username IDENTIFIED BY "thePassword"'
sudo mariadb -e 'GRANT ALL ON dbname.* TO username'
sudo mariadb -e 'FLUSH PRIVILEGES'