mysql5.7授权远程访问解决方案
授权远程访问
1. mysql -u root -p //先登录mysql
2.GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'your_root_password' WITH GRANT OPTION;
3.FLUSH PRIVILEGES;
授权远程访问
1. mysql -u root -p //先登录mysql
2.GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'your_root_password' WITH GRANT OPTION;
3.FLUSH PRIVILEGES;