diff --git a/bin/DBConfig.py b/bin/DBConfig.py index a0be5bd..a33840a 100644 --- a/bin/DBConfig.py +++ b/bin/DBConfig.py @@ -81,9 +81,9 @@ def oracle_config(): driver_jar_path = etc_dir / "driver" / oracle_info_dict['driver_jar'] 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['db_user'] = "unary" - oracle_info_dict['db_password'] = "unary2023" + oracle_info_dict['jdbc_url'] = "jdbc:oracle:thin:@10.10.29.10:1521/unary" + oracle_info_dict['db_user'] = "Test01" + oracle_info_dict['db_password'] = "test123" #create table sql # now_hours = get_now() diff --git a/bin/SQLDataCreating.py b/bin/SQLDataCreating.py index 55771e6..4e4ddb9 100644 --- a/bin/SQLDataCreating.py +++ b/bin/SQLDataCreating.py @@ -19,7 +19,7 @@ from schedule import every, repeat, run_pending """ # 目前支持 MySQL和Oracle两种数据库,其他的数据库需要做适配 -DBType = "mysql" +DBType = "oracle" #获取连接信息