How can i display in a archive page a number of post i want

Just use the current_post property in the loop:

if ( have_posts() )
{
    while( have_posts() )
    {
        global $wp_query;
        the_post();

        // Show current post number:
        echo $wp_query->current_post;

    } // endwhile;
} // endif;

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