How to show content of custom fields in search results?

Something along the lines of get_post_custom() or get_post_meta() probably would suit your needs pretty well. You can feed either of them with get_the_ID() for the $post_id.

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