log in mysql from command prompt windows to access database and change passwords grant privialiges Create users
First of all you should know how you can add users in mysql databases:-
* Using CREATE USER and/or GRANT commands
* Inserting a new record into the mysql.user table
First let’s see how to use the CREATE USER command:-
CREATE USER user [IDENTIFIED BY [PASSWORD] ‘password’]
e.g
mysql>CREATE USER ‘myuser’@'localhost’ IDENTIFIED BY ‘mypassword’;


