cannot update wordpress from 3.4.2 to 3.5

It’s likely that the files aren’t writable by WP for whatever reason.

Do a manual upgrade instead.

http://codex.wordpress.org/Updating_WordPress#Manual_Update

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