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語句。