WordPress in a sub directory but not images

Go to Settings > Media. Enter the option Full URL path to files according to the file structure on you server.

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