Why can’t I connect to the wordpress install page with Nginx?

This is because the directory of wordpress is wrong.

the whole of wordpress files should have been extracted in /var/www/html/device1.com.

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