database.properties基本配置
jdbc.driver=com.mysql.jdbc.Driver
# jdbc.url=jdbc:mysql://localhost:3306/ssmbuild?useSSL=true&useUnicode=true&characterEncoding=utf-8
# 如果使用的是MySQL8.0+, 需要增加一个时区的配置:serverTimezone=Asia(亚洲)
jdbc.url=jdbc:mysql://localhost:3306/ssmbuild?useSSL=true&useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
jdbc.username=root
jdbc.password=123456
本文来自博客园,作者:瓜皮通,转载请注明原文链接:https://www.cnblogs.com/tong-notes/p/16494345.html