How can i display movies in profile page, added by an user?

how can i retrive all the movies, i retrive only the amount set in
Administrtor setings. How can i retrive the pages too

Assuming that $current_user->ID is now correct, and it seems from your comment that it is.

$recentPosts = new WP_Query();
$recentPosts->query(
    array(
        'author' => $current_user->ID,
        'post_type' => array('post','trailers'), // pull both posts and trailers
        'showposts' => -1, // show all posts
        'ignore_sticky_post' => true // my addition, seems like a good idea
    )
);

Reference

https://codex.wordpress.org/Class_Reference/WP_Query#Parameters

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