root用户不允许远程连接,需要执行一下授权
grant all privileges on *.* to 'root'@'%' identified by '1234' with grant option;
需要替换一下实际的密码
root用户不允许远程连接,需要执行一下授权
grant all privileges on *.* to 'root'@'%' identified by '1234' with grant option;
需要替换一下实际的密码
转载于:https://www.cnblogs.com/dindin2046/p/4507787.html