Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 183 Bytes

create-new-user-and-give-all-privilages.md

File metadata and controls

8 lines (5 loc) · 183 Bytes

How to create new user and give all privilages in MySQL

CREATE USER 'user'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON * . * TO 'user'@'localhost';