标签:databases ike host 报错 with localhost local exp 版本
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;
标签:databases ike host 报错 with localhost local exp 版本
原文地址:https://www.cnblogs.com/Leojiangmy/p/12923100.html