《mysql 1449 : The user specified as a definer ('root'@'%') does not exist 解決方法Mys》要點:
本文介紹了mysql 1449 : The user specified as a definer ('root'@'%') does not exist 解決方法Mys,希望對您有用。如果有疑問,可以聯系我們。
導讀:程序在調用到數據庫的視圖時報錯,直接在數據庫中打開視圖時也報錯,類似:錨點mysql 1449 : The user specified as a definer (...
程序在調用到數據庫的視圖時報錯,直接在數據庫中打開視圖時也報錯,類似:
錨點mysql 1449 : The user specified as a definer ('montor'@'%') does not exist
經查,是權限問題,解決辦法:
運行:grant all privileges on *.* to monitor@"%" identified by ".";
之后打開視圖時便不會報錯,程序調用也不會報錯.
源地址的解釋:
權限問題,授權 給 root? 所有sql 權限
MySQL> grant all privileges on *.* to root@"%" identified by ".";
Query OK, 0 rows affected (0.00 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
轉載請注明本頁網址:
http://www.fzlkiss.com/jiaocheng/5576.html