![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据库
Zoesons
学而时习之
展开
-
java.sql.SQLException: Unknown initial character set index ‘255‘ received from server. Initial clien
java.sql.SQLException: Unknown initial character set index ‘255’ received from server. Initial client character set can be forced via the ‘characterEncoding’ property原因:未知字符默认字符集已从latin1变成utf8mb4解决:前: 后: ...原创 2021-01-15 11:23:35 · 216 阅读 · 0 评论 -
异常:com.mysql.jdbc.exceptions.MySQLNonTransientConnectionException:Client does not support authentica
异常:com.mysql.jdbc.exceptions.MySQLNonTransientConnectionException:Client does not support authentication protocol requested by server;consider upgrading MySQL client原因:mysql8以前的版本加密规则是mysql_native_password,而mysql8之后,加密规则是caching_sha2_password。如果你使用mysql8.原创 2021-01-15 11:16:40 · 1847 阅读 · 2 评论