MySQL establishes the database using the Create command:
New Database Example:
to MySQL highest admin login, in mysql>create database XXXXX;
XXXXX is the database name.
How to create a user in MySQL so that the user has full permissions to the database.
You can use the GRANT command with the following format:
GRANT permission on the database name. Table name to new username @ host name identified by ' password ';
Grant all on husidb.* to john@localhost identified by ' 201314 ';
Note: Each of the MySQL statements followed by the Word, note the case.