Some useful information about everything
CREATE DATABASE name CHARACTER SET utf8 COLLATE utf8_general_ci; CREATE USER 'user'@'localhost' IDENTIFIED BY 'password'; GRANT ALL PRIVILEGES ON database.* TO 'user'@'localhost'; flush privileges;