MySQL报错java.sql.SQLException: The server time zone value ‘乱码‘ is unrecognized or represents more tha

较新的jdbc驱动可能会报出:java.sql.SQLException: The server time zone value ‘乱码’ is unrecognized or represents more than one time zone

需要修改mysql的时区,找到安装目录中的my.ini,
在【mysqld】下添加default-time_zone = ‘+8:00’
保存后重启mysql即可

上一篇:区域(Region)和可用区(Availability Zone)


下一篇:DNS区域传输漏洞复现