1. CREATE USER 'monty'@'localhost' IDENTIFIED BY 'some_pass';
2.GRANT ALL PRIVILEGES ON databasename.* TO 'monty'@'localhost
;
3.FLUSH PRIVILEGES;
> create database marketpro CHARACTER SET utf8 COLLATE utf8_general_ci;
Nguyen Si Nhan
1. CREATE USER 'monty'@'localhost' IDENTIFIED BY 'some_pass';
2.GRANT ALL PRIVILEGES ON databasename.* TO 'monty'@'localhost
;
3.FLUSH PRIVILEGES;