问题描述:
java.sql.SQLException: The user specified as a definer ('tsingsoft'@'%') does not exist
解决:
1.查询mysql中定义的说有用户:select * from mysql.user
2.查看是否存在host=% ,User=tsingsoft的用户,如果没有则新增该用户:insert into mysql.user(Host,User,select_priv,insert_priv,update_priv,....)values('%','tsingsoft','Y','Y','Y','Y'); ----ps:sql不完整,根据自身情况各种权限选择插入
3.刷新权限:flush PRIVILEGES