mirror of
https://github.com/aljazceru/cowrie.git
synced 2026-01-31 12:04:24 +01:00
try not using reconnecting hack for adbapi to fix Dave_w's problem
git-svn-id: https://kippo.googlecode.com/svn/trunk@165 951d7100-d841-11de-b865-b3884708a8e2
This commit is contained in:
@@ -32,7 +32,7 @@ class ReconnectingConnectionPool(adbapi.ConnectionPool):
|
||||
|
||||
class DBLogger(dblog.DBLogger):
|
||||
def start(self, cfg):
|
||||
self.db = ReconnectingConnectionPool('MySQLdb',
|
||||
self.db = adbapi.ConnectionPool('MySQLdb',
|
||||
host = cfg.get('database', 'host'),
|
||||
db = cfg.get('database', 'database'),
|
||||
user = cfg.get('database', 'username'),
|
||||
|
||||
Reference in New Issue
Block a user