Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
Amazon-Selection-Data
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abel_cjy
Amazon-Selection-Data
Commits
02e9c95f
Commit
02e9c95f
authored
Jun 26, 2025
by
fangxingjun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
b430f897
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
db_util.py
Pyspark_job/utils/db_util.py
+8
-8
No files found.
Pyspark_job/utils/db_util.py
View file @
02e9c95f
...
...
@@ -34,22 +34,22 @@ class DBUtil(object):
# mysql连接参数
__mysql_host__
=
"rm-wz9yg9bsb2zf01ea4yo.mysql.rds.aliyuncs.com"
__mysql_port__
=
"3306"
__mysql_username__
=
"XP_Yswg2025"
__mysql_pwd__
=
"XP
2025
@Yswg300"
__mysql_username__
=
"XP_Yswg2025
_PY
"
__mysql_pwd__
=
"XP
_2025_PY
@Yswg300"
# pg连接参数正式库-h15
__pgsql_host__
=
"192.168.10.224"
__pgsql_port__
=
"5433"
# __pgsql_username__ = "postgres"
# __pgsql_pwd__ = "fazAqRRVV9vDmwDNRNb593ht5TxYVrfTyHJSJ3BS"
__pgsql_username__
=
"
adv_yswg002
"
__pgsql_pwd__
=
"
T#4$4
%
qPbR7mJx
"
__pgsql_username__
=
"
yswg_postgres
"
__pgsql_pwd__
=
"
yswg_postgres
"
# pg连接参数正式库-h14
__pgsql_h14_host__
=
"192.168.10.223"
__pgsql_h14_port__
=
"5433"
__pgsql_h14_username__
=
"postgres"
__pgsql_h14_pwd__
=
"
G8m!Q2p9D#f
%5
x
"
__pgsql_h14_username__
=
"
yswg_
postgres"
__pgsql_h14_pwd__
=
"
yswg_postgres
"
# pg测试库连接参数
__pgsql_test_host__
=
"192.168.10.217"
...
...
@@ -63,8 +63,8 @@ class DBUtil(object):
__pgsql_cluster_port__
=
"6432"
# __pgsql_cluster_username__ = "postgres"
# __pgsql_cluster_pwd__ = "fazAqRRVV9vDmwDNRNb593ht5TxYVrfTyHJSJ3BS"
__pgsql_cluster_username__
=
"
adv_yswg002
"
__pgsql_cluster_pwd__
=
"
T#4$4
%
qPbR7mJx
"
__pgsql_cluster_username__
=
"
yswg_postgres
"
__pgsql_cluster_pwd__
=
"
yswg_postgres
"
# 广告系统us站点阿里云mysql连接参数
__adv_us_host__
=
"rm-wz93hkkmzm5f3868iho.mysql.rds.aliyuncs.com"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment