Create Mysql user :
CREATE USER ‘testuser’@’localhost’ IDENTIFIED BY ‘test123test!’;
Grant All permissions :
grant all privileges on mydb.* to myuser@localhost identified by ‘mypasswd’;
Show all mysql users :
SELECT * FROM mysql.user;
Create Mysql user :
CREATE USER ‘testuser’@’localhost’ IDENTIFIED BY ‘test123test!’;
Grant All permissions :
grant all privileges on mydb.* to myuser@localhost identified by ‘mypasswd’;
Show all mysql users :
SELECT * FROM mysql.user;