From 558176dceacb5aa9e14982bfa86ea4a42929ed0e Mon Sep 17 00:00:00 2001 From: hackrobot Date: Sat, 10 Aug 2024 16:49:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E5=BA=93=E7=AB=AF=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/database.py b/app/database.py index 884df24..65a6f01 100644 --- a/app/database.py +++ b/app/database.py @@ -7,7 +7,7 @@ from sqlalchemy.orm import sessionmaker # SessionLocal = sessionmaker(autocommit=False, autoflush=False, bind=engine) # 使用 MySQL 连接 -SQLALCHEMY_DATABASE_URL = "mysql+pymysql://hackrobot:Xiao4669805@localhost:3306/hackrobot" +SQLALCHEMY_DATABASE_URL = "mysql+pymysql://hackrobot:Xiao4669805@localhost:3400/hackrobot" engine = create_engine(SQLALCHEMY_DATABASE_URL) SessionLocal = sessionmaker(autocommit=False, autoflush=False, bind=engine)