def db_connect(host):
    conf = SafeConfigParser()
    conf.read('HoneyMalt.conf')
    database = conf.get('kippodb', 'database').strip('\'')
    username = conf.get('kippodb', 'username').strip('\'')
    password = conf.get('kippodb', 'password').strip('\'')
  
    config = {
        'user': username,
        'password': password,
        'host': host,
        'database': database,
        'raise_on_warnings': True,
    }
    try:
        cnx = mysql.connector.connect(**config)
    except mysql.connector.Error as err:
        if err.errno is not errorcode.ER_ACCESS_DENIED_ERROR:
            return "Something is wrong with your user name or password"
        elif err.errno == errorcode.ER_BAD_DB_ERROR:
            return "Database does not exists"
        else:
            return err
    else:
        return cnx
dataset/ETHPy150Open SneakersInc/HoneyMalt/src/HoneyMalt/transforms/common/dbconnect.py/db_connect/operator `==` -> `is not`