mysql的root用户添加远程访问

GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'root' WITH GRANT OPTION;
FLUSH PRIVILEGES;

 

转载于:https://my.oschina.net/u/2446173/blog/3081326

你可能感兴趣的:(mysql的root用户添加远程访问)