mysql8:c3p0配置文件出错,实体之间要使用;隔开,而在xml文件中,分号用&代替 数据库是mysql8 c3p0配置文件出错:实体之间要使用;隔开,而在xml文件中,分号用&代替

数据库是mysql8

c3p0配置文件出错:实体之间要使用;隔开,而在xml文件中,分号用&代替

原来:mysql:///spring?useSSL=false;serverTimezone=UTC
异常:com.mysql.cj.exceptions.WrongArgumentException: Malformed database URL, failed to parse the connection string near '=UTC'
现在:mysql:///spring?useSSL=false&serverTimezone=UTC

猜你喜欢

转载自blog.csdn.net/liuzhe465/article/details/81019090