Creating New User in MySQL

When you create a new database in MySQL, it is a good idea to associate a new user(s) with the database. Here are the steps that you will need to follow. Create new database Create new user create user <username> identified by ‘<password>’; This will create a new user with the specified password. Grant privileges: