How to use shortcode in js url

You can not use a shortcode inside an attribute. You need to make a shortcode that will output the whole element.

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