Commit d73148cb authored by 金凯强's avatar 金凯强 🎨

修改数据库测试提示

parent fa273294
Pipeline #22219 failed with stage
in 11 seconds
...@@ -44,7 +44,7 @@ class ConnectionService(): ...@@ -44,7 +44,7 @@ class ConnectionService():
# 验证数据库连接是否正确 # 验证数据库连接是否正确
if not CommonTools().test_db_connection(db_ip, db_port, db_user, db_password, mes_db_name): if not CommonTools().test_db_connection(db_ip, db_port, db_user, db_password, mes_db_name):
raise HSException('数据库连接失败,请检查') raise HSException('您填写的数据库信息未能连接上数据库,请检查')
with db_driver as session: with db_driver as session:
if id: if id:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment