How can I get the content of the current page in my loop while merging post-type

Ok solved it like this :

<?php

$mainquery = get_queried_object();

$args = array(
'pagename' => 'Accueil' //as my home page
);

$query = new WP_Query($args);
if ($query->have_posts()) {
while ($query->have_posts()) {
$query->the_post();
?>
     <div class="entry-content">
                <?php
the_content(); // here I can load my content
?>
     </div><br><br>

<?php
}
}

wp_reset_postdata();

global $wp_query;
$args = array_merge($wp_query->query, array(
'post_type' => array(
'post',
'Projets'
),
'posts_per_page' => 3
));
if (query_posts($args)):
while (have_posts()):
the_post();
get_template_part('template-parts/content', 'content');
endwhile;
else:
get_template_part('template-parts/none', 'none');
endif;
?>

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