MySQL5.7允许远程root访问

MySQL5.7允许远程root访问

登录你的服务器MySQL    mysql -u root -p MySQLroot密码
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '你的root密码' WITH GRANT OPTION;

posted @ 2023-11-25 17:05  锅巴编程  阅读(89)  评论(0编辑  收藏  举报