使用新加坡服务器存储文件信息

This commit is contained in:
zhiyong 2023-11-28 15:31:32 +08:00
parent 99661c4a01
commit 9e556f5e15
2 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ class Classifier1():
pass
def connect_database(self):
self.db = pymysql.connect(host='nas.zhiyong.tech', user='admin', password='zhiyong@214', database='photo_classifier', port=3307)
self.db = pymysql.connect(host='northflyfish.myqnapcloud.cn', user='admin', password='zhiyong@214', database='photo_classifier', port=3307)
def close_database(self):
self.db.close()