MYSQL——帆软连接报错

2024/07/11
1.报错
2.报错原因
3.解决办法
4.参考

1.报错
错误代码:11300001 数据集配置错误<br>Query:<br>Unknown initial character set index '255' received from server. Initial client character set can be forced via the 'characterEncoding' property.
日志里提示
Cause: java.sql.SQLException: Unknown initial character set index '255' received from server.

2.报错原因
驱动与数据库字符集不匹配

3.解决办法
是在URL后加characterEncoding=utf8

成功解决!!!、

4.参考
https://blog.csdn.net/Ahuuua/article/details/89071738

posted @ 2024-07-11 09:47  李大嘟嘟  阅读(195)  评论(0编辑  收藏  举报