moved bind_params in connector mysql from query