Custom search (wp query by custom fields)

Found the problem – i was using array, when i just needed to use such arguments:

$args = array(
  'post_type'=> 'post',
  'paged'    => $paged,
  'posts_per_page' => 9,
  'meta_key' => 'summary',
  'meta_value' => $thesearch,
  'meta_compare' => 'LIKE'
  );

Thanks for help guys.

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