diff --git a/kippo/dblog/mysql.py b/kippo/dblog/mysql.py index 285d45d..ac9a8f6 100644 --- a/kippo/dblog/mysql.py +++ b/kippo/dblog/mysql.py @@ -21,7 +21,7 @@ class ReconnectingConnectionPool(adbapi.ConnectionPool): return adbapi.ConnectionPool._runInteraction( self, interaction, *args, **kw) except MySQLdb.OperationalError as e: - if e[0] not in (2006, 2013): + if e[0] not in (2003, 2006, 2013): raise log.msg("RCP: got error %s, retrying operation" %(e)) conn = self.connections.get(self.threadID())