使用root用户远程登录mysql创建Trigger的时候提示:
TRIGGER command denied to user..
解决方法:
1.到远程的mysql服务器上授予远程root用户权限:
使用root用户登录,执行grant all privileges on *.* to 'root'@'%' with grant option;
2.然后再远程客户端重新登录mysql即可
使用root用户远程登录mysql创建Trigger的时候提示:
TRIGGER command denied to user..
解决方法:
1.到远程的mysql服务器上授予远程root用户权限:
使用root用户登录,执行grant all privileges on *.* to 'root'@'%' with grant option;
2.然后再远程客户端重新登录mysql即可