The server time zone value '�й���ʱ��' is unrecognizd or represents more than one time zone
连接到MySQL时报错:The server time zone value '�й���ʱ��' is unrecognizd or represents more than one time zone
原因:
安装MySQL时默认的是美国时区,而中国时区和美国不一样,因而报错。
解决:
在访问数据库的连接后面加上:?serverTimezone=UTC 即可。
应该是由于MyS...
原创
2020-01-07 12:17:36 ·
315 阅读 ·
0 评论