MySQL5.7允许远程root访问
MySQL5.7允许远程root访问
登录你的服务器MySQL mysql -u root -p MySQLroot密码
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '你的root密码' WITH GRANT OPTION;
登录你的服务器MySQL mysql -u root -p MySQLroot密码
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '你的root密码' WITH GRANT OPTION;