WordPress subfolders htaccess bypassing the root htaccess RewriteRule

After a lot searching, I have gotten the solution of this problem from the web.

A similar problem is discussed on this URL. And solution is given on 7th page of this URL.

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