問題現(xiàn)象:
MySql.Data.MySqlClient.MySqlException: The user specified as a definer ('root'@'%') does not exist
解決辦法:
登陸mysql ,執(zhí)行
mysql -u root -pPasswd
mysql >grant all privileges on *.* to root@"%" identified by "Passwd";
mysql >flush privileges;