mirror of
https://github.com/CodePhiliaX/Chat2DB.git
synced 2025-07-29 10:43:06 +08:00
Driver configuration is configured through json,
Support driver attribute configuration.
This commit is contained in:
@ -9,7 +9,14 @@
|
||||
"https://oss.sqlgpt.cn/lib/mysql-connector-java-8.0.30.jar"
|
||||
],
|
||||
"jdbcDriver": "mysql-connector-java-8.0.30.jar",
|
||||
"jdbcDriverClass": "com.mysql.cj.jdbc.Driver"
|
||||
"jdbcDriverClass": "com.mysql.cj.jdbc.Driver",
|
||||
"extendInfo": [
|
||||
{
|
||||
"key": "zeroDateTimeBehavior",
|
||||
"value": "convertToNull",
|
||||
"required": false
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"url": "jdbc:mysql://localhost:3306/",
|
||||
@ -19,7 +26,14 @@
|
||||
"https://oss.sqlgpt.cn/lib/mysql-connector-java-5.1.47.jar"
|
||||
],
|
||||
"jdbcDriver": "mysql-connector-java-5.1.47.jar",
|
||||
"jdbcDriverClass": "com.mysql.jdbc.Driver"
|
||||
"jdbcDriverClass": "com.mysql.jdbc.Driver",
|
||||
"extendInfo": [
|
||||
{
|
||||
"key": "characterEncoding",
|
||||
"value": "UTF-8",
|
||||
"required": false
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"name": "Mysql"
|
||||
|
Reference in New Issue
Block a user