def getConfig(dbName):
    config = {
        'user': '',
        'password': '',
        'host': '',
        'database': dbName,
        'raise_on_warnings': True,
    }
    return config

add mysql config