禁用SSL认证
vim my.cnf
[mysqld]
skip_ssl
开始SSL,性能损失大约20%;
mysql8.0注意事项:
(1)默认的密码插件有变化。
mysql5.7的默认密码插件是:
[mysqld]
default_authentication_plugin=mysql_native_password
mysql8.0默认的密码认证插件:
default_authentication_plugin=caching_sha2_password
如果从Mysql5.7升级到Mysql8.0则需要重新修改密码插件:
alter user root identified with caching_sha2_password by 'xxxx';
修改密码后才可以连接,否则无法连接。
大小写敏感:不可以动态修改。
lower_case_table_names=1 所有的名字小写。
日志详细程度:
mysql8.0 ,log_error_verbosity 默认值是2,建议调整为3,打印更详细的信息。