1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| package cn.flight.feather.database
|
| /**
| *
| * @date 2025/8/5
| * @author feiyu02
| */
| class MainDB {
|
| fun exportDBSupervision() {
| val dataSource = ExportDBToFile.connectDB(
| "jdbc:mysql://47.100.191.150:3306/supervision?serverTimezone=Asia/Shanghai&prepStmtCacheSize=517" +
| "&cachePrepStmts=true&autoReconnect=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false",
| "remoteU1",
| "eSoF8DnzfGTlhAjE"
| )
| val config = ExportDBToFile.genConfig(dataSource, "生态环境线上监管数据库结构说明文档")
| ExportDBToFile.execute(dataSource, config)
| }
| }
|
|