CREATE USER 'username'@'localhost' IDENTIFIED BY 'password';
CREATE USER 'username'@'%' IDENTIFIED BY 'password';
CREATE USER 'username'@'129.12.12.192' IDENTIFIED BY 'password';
CREATE USER IF NOT EXISTS 'username'@'%' IDENTIFIED BY 'XXXXXXXX';
DROP USER 'username'@'localhost';
SHOW GRANTS FOR 'cloudsqlsuperuser'
SHOW GRANTS FOR 'root'@'%';
SHOW GRANTS FOR 'root'@'localhost'
CREATE DATABASE test
GRANT ALL PRIVILEGES ON test.* TO 'username'@'localhost';
# Read Only permissions only
GRANT SELECT, SHOW VIEW ON test.\* TO 'username'@'%';
SELECT User, Host FROM mysql.user;
to be continued...