wordpress admin panel loop on nginx

Found solution for my issue, by adding this line to my conf file:

try_files $uri $uri/ /index.php;

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