Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
customer-recall
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ai-tools
customer-recall
Commits
8e52e09c
Commit
8e52e09c
authored
Aug 16, 2025
by
yiling.shen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix database connection in safe_import_patients.py use mysql service name and root user
parent
a7ec0c86
Pipeline
#3210
passed with stages
in 1 minute 37 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
safe_import_patients.py
+5
-5
No files found.
safe_import_patients.py
View file @
8e52e09c
...
...
@@ -11,12 +11,12 @@ import json
import
pymysql
from
datetime
import
datetime
# 数据库配置
# 数据库配置
- 修复为Docker容器内的正确配置
DB_CONFIG
=
{
'host'
:
'
localhost'
,
'port'
:
330
7
,
'user'
:
'
callback_user'
,
'password'
:
'dev_password_123'
,
'host'
:
'
mysql'
,
# 使用Docker服务名
'port'
:
330
6
,
# 使用标准MySQL端口
'user'
:
'
root'
,
# 使用root用户
'password'
:
'dev_password_123'
,
# 使用正确的root密码
'database'
:
'callback_system'
,
'charset'
:
'utf8mb4'
}
...
...
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