解決Error (1133): Can’t find any matching row in the user table

解決Error (1133): Can’t find any matching row in the user table
mysql>GRANT ALL PRIVILEGES ON . TO ‘root’@’120.198.127.20’ IDENTIFIED BY ” WITH GRANT OPTION;
Error (1133): Can’t find any matching row in the user table
解決方法
就是把小寫功能給關掉,這裏讓我饒不少彎路。在這此我特意記錄下來分享
在/etc/my.cnf 中的[mysqld]後添加添加lower_case_table_names=1,重啓MYSQL服務設置成功

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章