用 root帳戶登錄的
mysql>
mysql> CREATE USER 'leven'@'localhost' IDENTIFIED BY 'Az12345678!';
Query OK, 0 rows affected (0.04 sec)
mysql>
mysql> GRANT REPLICATION SLAVE ON *.* TO 'leven'@'%';
ERROR 1410 (42000): You are not allowed to create a user with GRANT
這是什么原因,不熟悉mysql,謝謝大家
uj5u.com熱心網友回復:
'leven'@'localhost' 與 'leven'@'%'; 不是同一個用戶賬號。另外你沒有權限通過GRANT創建用戶。show grants;檢查一下自己的權限
轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/81805.html
標籤:MySQL
上一篇:學術交流求助帖!!
