时间:2021-07-01 10:21:17 帮助过:18人阅读
1.Mysql提示报错Too large的错误。
解决:
show variables like ‘%max_allowed_packet%‘;【默认为1M】
set global max_allowed_packet = 2*1024*1024*10
2.Mysql8.0的版本,因为比较新的mysql采用新的保密方式所以旧的似乎不能用,改密码方式:
mysql -u root -p
show databases;
use mysql;
alter user ‘root‘@‘localhost‘ identified with mysql_native_password by ‘你的新密码‘;
flush privileges;
Navicat破解码:NAVH-WK6A-DMVK-DKW3
3.mysql8.0版本差异
mysql -u root -p
show databases;
use mysql;
alter user root@localhost identified by ‘password‘ password expire never;
alter user root@localhost identified with mysql_native_password by ‘password‘;
flush privileges;
Mysql两个常见报错
标签:databases ike host 报错 with localhost local exp 版本