root用户不允许远程连接,需要执行一下授权
grant all privileges on *.* to ‘root‘@‘%‘ identified by ‘1234‘ with grant option;
需要替换一下实际的密码
时间: 2024-12-09 21:45:13
root用户不允许远程连接,需要执行一下授权
grant all privileges on *.* to ‘root‘@‘%‘ identified by ‘1234‘ with grant option;
需要替换一下实际的密码