In this simple tutorial we will discuss how to make a database using the mysql
command line tool.
Assuming you are not viewing the mysql command line client, you will need to access this:
mysql -u yourname -p
... Once you enter your password you should see the mysql command line client.
CREATE USER 'your_new_user_here'@'localhost' IDENTIFIED BY 'your_password_here';
CREATE DATABASE 'new_database_name';
GRANT ALL PRIVILEGES ON 'new_database_name' . * TO 'your_new_user_here'@'localhost';
FLUSH PRIVILEGES;