标题过于醒目,这是我时常重新安装mysql 。总会忘记设计时区设置导致浪费大量时间。一次笔记望日后便于查找。
使用JDBC连接MySql时出现:The server time zone value ‘�й���ʱ��’ is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration
在idea 发生连接错误,第一时间没看错误以为密码错误 服务未开。特意测试无误,仔细斟酌Exception就知道啥问题了。还是不要盲目乱猜。
————————————————
版权声明:本文为CSDN博主「言之情」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/Daegeum/article/details/104270443
serverTimezone=UTC
最新推荐文章于 2024-04-24 17:45:42 发布