WordPress installation in subfolder not working with nginx

The problem resolved, I just need to add a location entry as follow:

location /new {
    try_files $uri $uri/ /new/index.php?$args /new/index.php?q=$uri&$args;
}

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