Open MySQL using the below command. The
username should be your root user or an admin user with access for creating other users.
Create a database and a user
Create a new database (if required) and create a new user. Grant permissions to the database for the user.