Mysql中使用root用户远程连接

mac2022-06-30  23

root用户不允许远程连接,需要执行一下授权

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

需要替换一下实际的密码

转载于:https://www.cnblogs.com/dindin2046/p/4507787.html

最新回复(0)