code: def _connect(self):
          
          if self._connParams:
              self._conn = MySQLdb.connect(**self._connParams)
          else:
              self._conn = MySQLdb.connect('')
docs: Establish connection to MySQL Database.