My WordPress site redirects to port 8082

You can take a look at my answer here :

Stackechange redirects all pages from new domain to old domain

Otherwise check the .htaccess files also

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