Shortcode with hyphen doesn’t work

You registered the shortcode basic_shortcode, but you tested the wrong [basic-shortcode]. These are two different things.

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