WordPress core update fails – no issues with plugin updates

You may want to check what the Codex recommends for file permissions vs. what you are using.

http://codex.wordpress.org/Changing_File_Permissions

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