.htaccess in subdir gets ignored by WordPress’ own .htaccess in /

Remove the other .htaccess from the sub-directory and try putting this in the .htaccess in your root directory:

<Directory /scripts>
    Order allow,deny
    <Files hello.php>
       Deny from all
    </Files>
</Directory>

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