Site doesn’t work when updating to SSL using nginx

Fault was with the dns of the ISP provider. It was still cached from a server migration. Where the http was configured on Apache ( old server)

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