jdbc.properties
完美配置

jdbc.driver=com.mysql.cj.jdbc.Driver
#jdbc.url=jdbc:mysql://localhost:3306/kdb1?serverTimezone=UTC
jdbc.url=jdbc:mysql://localhost:3306/kdb1?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&useSSL=false&allowMultiQueries=true
jdbc.username=root
jdbc.password=root
  • allowMultiQueries=true
    1.可以在sql语句后携带分号,实现多条SQL语句执行。
    2.可以执行批处理,同时发出多个SQL语句。

相关文章:

  • 2022-12-23
  • 2021-12-02
  • 2022-02-13
猜你喜欢
  • 2022-02-04
  • 2021-12-12
  • 2022-02-07
相关资源
相似解决方案