高版本数据库的连接问题

配置文件:

driverClass=com.mysql.cj.jdbc.Driver

url=jdbc:mysql://localhost/数据库?useUnicode=true&characterEncoding=utf8&serverTimezone=GMT&useSSL=false

用c3p0连接时url里的'&'还需要改成'&'

猜你喜欢

转载自blog.csdn.net/oxiaoSheng123456789/article/details/80970517