原因:你的ip地址不允许远程登录到mysql服务器
解决:修改“mysql”数据库的”user“表的host选项,
查下看当前的记录,你的IP是否存在,
select host,user from user;
如果不存在,新增一条或修改其中的一条
update user set host = '%' where user = 'root';
select host, user from user;
使修改立即生效
Flush privileges;
发表时间:2023-11-17
发表时间:2022-09-09
发表时间:2022-08-09
根据IP获取城市 ip2region 支持java nodejs php python golang
发表时间:2022-08-05
mac nodejs Error: EACCES: permission denied
发表时间:2022-07-28
发表时间:2022-05-29
发表时间:2022-05-21
发表时间:2022-04-29
git push 错误: hint: Updates were rejected because the tip of your current branch is behind
发表时间:2022-03-12
发表时间:2021-12-29
发表时间:2021-12-29
发表时间:2021-12-29