conf = {"host":mdReadConfig.host, "user":mdReadConfig.user, "passwd":mdReadConfig.password, "db":mdReadConfig.db} conn = MySQLdb.connect(**conf)