提交修改

This commit is contained in:
halliday 2023-10-27 18:21:46 +08:00
parent 6167fa8ead
commit 48c537f092
2 changed files with 4 additions and 4 deletions

View File

@ -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()

View File

@ -19,7 +19,7 @@ from schedule import every, repeat, run_pending
""" """
# 目前支持 MySQL和Oracle两种数据库其他的数据库需要做适配 # 目前支持 MySQL和Oracle两种数据库其他的数据库需要做适配
DBType = "mysql" DBType = "oracle"
#获取连接信息 #获取连接信息