MySql Login, Database & User Creation

Step 1: Login to MySQL ( you will need an account )

Enter password:- Enter your mysql password

Step 2: Create the Database

Step 3: Verify that it’s there

Step 4: Create the User

Example:- CREATE USER 'dbuser'@'localhost' IDENTIFIED BY 'password123';

Step 5: Grant privileges while assigning the password

Example:- GRANT ALL PRIVILEGES ON databasename . * TO 'dbuser'@'localhost';

*Note: The localhost field usually doesn’t have to be edited, but you can set it to the specific address.

The above example grants all privileges, obviously. But you will likely want to limit privileges under many circumstances. These parameters include selectinsert, and delete.
Choose all that apply and separate by comma: