How to call theme default widget in custom template?

Try this

<?php the_widget( 'WP_Widget_Recent_Posts', array('number' => 10, 'title' => 'My Title Goes Here'), $args ); ?>

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