mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost'mysql
-> IDENTIFIED BY 'some_pass' WITH GRANT OPTION; sql
//本地操做的權限權限
mysql> GRANT ALL PRIVILEGES ON *.* TO ' root '@'%'localhost
-> IDENTIFIED BY 'some_pass' WITH GRANT OPTION;