MySQL 数据库的远程访问权限

CMD 切换到MySQL安装目录Bin下,

输入:mysql -u root -p

继续输入密码

开放局域网连接:

grant all privileges on *.* to root@'%' identified by 'root' with grant option;

刷新权限:


flush privileges;

原文地址:https://www.cnblogs.com/Fooo/p/15101696.html