mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 06:39:25 +08:00
Update sql_mysql.py
This commit is contained in:
@@ -80,9 +80,7 @@ class nosqlMySQL():
|
||||
|
||||
mysql_pass = self.sqliteDb(sid, 'config').where('id=?', (1,)).getField('mysql_root')
|
||||
result['password'] = mysql_pass
|
||||
|
||||
keys = ["bind_ip", "port"]
|
||||
|
||||
|
||||
rep = r'port\s*=\s*(.*)'
|
||||
port_re = re.search(rep, mydb_content)
|
||||
if port_re:
|
||||
|
||||
Reference in New Issue
Block a user