CMD 切换到MySQL安装目录Bin下,
输入:mysql -u root -p
继续输入密码
开放局域网连接:grant all privileges on *.* to root@'%' identified by 'root' with grant option;
刷新权限:
flush privileges;