mysql error 1370解決辦法

調用存儲過程時報瞭下面的錯誤
ERROR 1370 (42000): execute command denied to user backupAccount@'localhost' for routine 'databaseName.spName'


解決辦法
對該賬戶授予執行存儲過程的權限
mysql> grant execute on procedure databaseName.spName to 'backupAccount'@'localhost';

mysql> flush privileges;

發佈留言