Update mysqlDb.py

This commit is contained in:
midoks
2022-06-23 23:55:33 +08:00
parent 6a2fd4bd38
commit 215be65bdd
+1 -1
View File
@@ -21,7 +21,7 @@ class mysqlDb:
def __Conn(self):
'''连接MYSQL数据库'''
try:
socket = '/tmp/mysql.sock'
socket = '/www/server/mysql/mysql.sock'
try:
import MySQLdb
except Exception as ex: