CREATE USER 'newuser'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON * . * TO 'newuser'@'localhost';
FLUSH PRIVILEGES;
For more information read here - https://www.digitalocean.com/community/articles/how-to-create-a-new-user-and-grant-permissions-in-mysql
No comments:
Post a Comment