經過grant 語句創建用戶

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;

相關文章
相關標籤/搜索