Post not found when filtered by category ID

Use post_per_page instead. Like this:

query_posts( 'cat=34&posts_per_page=5' );

Read more about the query on: WordPress Codex

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