提交修改
This commit is contained in:
parent
6167fa8ead
commit
48c537f092
|
@ -81,9 +81,9 @@ def oracle_config():
|
||||||
driver_jar_path = etc_dir / "driver" / oracle_info_dict['driver_jar']
|
driver_jar_path = etc_dir / "driver" / oracle_info_dict['driver_jar']
|
||||||
oracle_info_dict['driver_jar_path'] = str(driver_jar_path)
|
oracle_info_dict['driver_jar_path'] = str(driver_jar_path)
|
||||||
#这里要连接到具体的实例
|
#这里要连接到具体的实例
|
||||||
oracle_info_dict['jdbc_url'] = "jdbc:oracle:thin:@10.10.13.21:1521:a"
|
oracle_info_dict['jdbc_url'] = "jdbc:oracle:thin:@10.10.29.10:1521/unary"
|
||||||
oracle_info_dict['db_user'] = "unary"
|
oracle_info_dict['db_user'] = "Test01"
|
||||||
oracle_info_dict['db_password'] = "unary2023"
|
oracle_info_dict['db_password'] = "test123"
|
||||||
|
|
||||||
#create table sql
|
#create table sql
|
||||||
# now_hours = get_now()
|
# now_hours = get_now()
|
||||||
|
|
|
@ -19,7 +19,7 @@ from schedule import every, repeat, run_pending
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# 目前支持 MySQL和Oracle两种数据库,其他的数据库需要做适配
|
# 目前支持 MySQL和Oracle两种数据库,其他的数据库需要做适配
|
||||||
DBType = "mysql"
|
DBType = "oracle"
|
||||||
|
|
||||||
|
|
||||||
#获取连接信息
|
#获取连接信息
|
||||||
|
|
Loading…
Reference in New Issue