mysql snippet

mysql -u root -p
create database MYDATABASENAME;
create user 'MYUSERNAME'@'localhost' identified by 'MYPASSWORD';
grant all privileges on MYDATABASENAME.* to 'MYUSERNAME'@'localhost' with grant option;
flush privileges;
quit