% 所有机器生效 ,如果设置成Ip 即某个机器生效
grant all privileges on *.* to 'root'@'192.168.0.46' identified by 'root' with grant option;
flush privileges;
刷新权限。
刷新权限。
% 所有机器生效 ,如果设置成Ip 即某个机器生效
grant all privileges on *.* to 'root'@'192.168.0.46' identified by 'root' with grant option;