Unable to retrieve get_author_posts_url

Adding answer for reference:

get_author_posts_url(get_the_author_meta('ID')) retrieves the value into the PHP code, it doesn’t automatically output it, so you need:

echo get_author_posts_url(get_the_author_meta('ID'));

To output it into the HTML

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