diff --git a/plugins/data_query/sql_mysql.py b/plugins/data_query/sql_mysql.py index bd53f8bef..5f1560958 100755 --- a/plugins/data_query/sql_mysql.py +++ b/plugins/data_query/sql_mysql.py @@ -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: