WP_query paged pagination with excluded category still counts it

Okay found a solution as soon as i posted this. Typical google-syndrome huh? – i had to pass the WP_query variable to the max_num_pages var in my next_posts_link, so it looks like this:

<?php next_posts_link('Ældre', $posts_query->max_num_pages); ?>

guess same thing goes for the previous_posts_link

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