How can I achieve this, using shortcodes

You’re trying to create Nested Shortcodes so at the end of your handler which looks like function shortcode_handler($params, $content = null) do this :

 return do_shortcode($content);

instead of :

return $content;

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