GRANT ALL PRIVILEGES ON *.* TO 'root'@'218.12.50.60' IDENTIFIED BY 'jb51' WITH GRANT OPTION
flush privileges
使用以下授权语句,将授权指定的192.168.1.1 和192.168.1.2 的机器,使用用户名为root,密码为test123的用户访问grant all privileges on *.* to 'root'@'192.168.1.1' identified by 'test123'grant all privileges on *.* to 'root'@'192.168.1.2' identified by 'test123'欢迎分享,转载请注明来源:内存溢出
评论列表(0条)