MYSQL8.0 Navicat远程连接主机与报错显示主机不相同,telnet显示pkGf#B\caching_sha2_password2#08S01Got timeout reading communication packetsCo

这点问题折腾一晚上,进入mysql,执行下面代码后 更改mysqld文件的绑定端口后重启数据库

mysql -u用户名 -p密码;

use mysql;
create user 'root'@'%' identified by '(redacted)';
grant all privileges on *.* to 'root'@'%' with grant option;
flush privileges;

之后更改MYSQL绑定地址

vim /etc/mysql/mysql.conf.d/mysqld.cnf

MYSQL8.0 Navicat远程连接主机与报错显示主机不相同,telnet显示pkGf#B\caching_sha2_password2#08S01Got timeout reading communication packetsCo

sudo systemctl restart mysql

给TA打赏
共{{data.count}}人
人已打赏
MYSQL

MYSQL增删改查

2022-6-18 0:03:25

CSS

CSS-input type(month,week,time,datetime-local)

2021-11-24 0:09:19

0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索