CREATE USER 'username'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON *.* TO 'user'@'localhost';
FLUSH PRIVILEGES;
DROP USER 'username'@'localhost';
SHOW GRANTS FOR 'user'@'localhost';
CREATE DATABASE dbname;
SHOW DATABASES;
USE dbname
SHOW TABLES;
CREATE TABLE tablename(
c1 type meta,
c2 type meta,
...
);
DROP TABLE tablename;
DROP DATABASE dbname;
exit