database/session.py | ●●●●● patch | view | raw | blame | history |
database/session.py
@@ -2,10 +2,10 @@ from sqlalchemy.orm import sessionmaker matrix = { 'host': '111.229.137.199', 'port': '3308', 'user': 'root', 'password': 'cbc382698c567b82', 'host': 'rm-bp12m54cm5d4ugb3wuo.mysql.rds.aliyuncs.com', 'port': '3306', 'user': 'matrix', 'password': 'Admin123', 'database': 'matrix-marketing', } # 创建数据库连接