python mysql escape special characters,sql = 'UPGRADE inventory_server set server_mac = %s where server_name = %s'