mysql视图问题: The user specified as a definer (‘root‘@‘%‘) does not exist
原因:由于root用户对全局host无访问权限,给root用户添加一个访问权限即可。
解决:
用登录命令:
mysql -u root -pPWD
登陆mysql 后,执行:
grant all privileges on *.* to [email protected]"%" identified by "PWD";
执行完成:
flush privileges;
问题解决。
时间: 2025-01-02 14:50:56