centos下mysql授予權限提示ERROR 1133 (42000): Can't find any matching row in the user table


錯誤:

給mysql對應的用戶授予權限的時候提示報錯:

解決方法:

后面才知道原來是同事這邊新增了用戶沒有flush

grant all privileges on *.* to 'user'@'%' with grant option;

flush privileges;

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM