MYSQL8的驱动名称是:com.mysql.cj.jdbc.Driver
MYSQL8以下的驱动名称是:com.mysql.jdbc.Driver 。
mysql的时区错误问题: The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one
运行:
set GLOBAL time_zone = '+8:00';
即可
MYSQL8的驱动名称是:com.mysql.cj.jdbc.Driver
MYSQL8以下的驱动名称是:com.mysql.jdbc.Driver 。
运行:
set GLOBAL time_zone = '+8:00';
即可
转载于:https://www.cnblogs.com/rock-turf/p/10472517.html