Pagination problem (plugin wp-pagenavi) with a custom post type?

Try this for the loop code.

<?php
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
$loop = new WP_Query( array(
    'post_type' => 'music',
    'paged' => $paged
) ); 
?>

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