Is it possible to move wordpress out of webroot?

This page should give you what you need. http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

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