memsql/common/database.py
def reconnect(self):
        """Closes the existing database connection and re-opens it."""
        conn = _mysql.connect(**self._db_args)
        if conn is not None:
            self.close()
            self._db = conn
def reconnect(self):
        conn = _mysql.connect(**self._db_args)
        if conn is not None:
            self.close()
            self._db = conn
def reconnect ( self ) : conn = _mysql . connect ( * * self . _db_args ) if conn is not None : self . close ( ) self . _db = conn
Closes the existing database connection and re-opens it.
Closes the existing database connection and re - opens it .