Using the title of the post in a shortcode

You’re trying to execute PHP inside a string! Instead, concat the string;

<?php echo do_shortcode( '[screenshot url="' . get_the_title() . '"]' ); ?>

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