how-to-create-a-database-and-grant-privileges-for-database-user
1.How to create a database and grant privileges for database user.
2.Login using username root and root password
3.Click on Databases tab
4.Enter database name, select collation (you may leave it to default) and click create.
5.Click on Privileges tab and select "Add user account".
6.You can select localhost if the connection is made only form local. Select "any host" if you are planing to connect from different hosts.
Enter new username and password.
7.Enter new username and password.
8.Select the privileges you need for that user.
9.Click on Database tab and select the database for which you need to give access(in our case the newly created database in step 4). Click Go.
Top comments (0)