[Err] 1449

來源:互聯網
上載者:User

晚上加班調用一個遠程拷貝的本地Mysql的儲存過程,報錯:[Err] 1449 - The user specified as a definer ('admin_isbox'@'localhost') does not exist

憑藉以前經常見到的root@localhost報錯,給root賦值所有許可權:

grant all privileges on *.* to root@"%" identified by ".";

發現無效。

可能資料庫沒有此使用者:

沒找到此使用者,但是報錯出現了這個使用者。尋求Google後,找到解決方案:

UPDATE mysql.proc SET definer='root@localhost' WHERE definer = '*username*@localhost';

重啟資料庫,OK

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.