How to search for posts given post_content AND post_excerpt using WP_Query?

The only solution I could find for this was to save my two values as post_meta, then use this code:

$args = array(
    'post_type'                 => 'POST_TYPE_HERE',
    'post_status'               => 'active',
    'update_post_term_cache'    => false, // don't retrieve post terms
    'meta_query'        => array(
    'relation'          => 'and',
        array(
            'key'       => 'META1_NAME',
            'value'     => $order_id,
            'compare'   => '=',
        ),
        array(
            'key'       => 'META2_NAME',
            'value'     => $product_id,
            'compare'   => '=',
        )
    )
);

$posts_array = new WP_Query($args);

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)