query_posts doesnt show pages with given ID when post_type => page

Yes, use “post__in”, a example:

<?php
$ids = array(5, 7, 52);
query_posts(array('post_type' => 'page',
'post__in' => $ids,
'showposts' => 3) );
?>

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