Is wordpress 3.3.1 compatible with PHP Version 5.2.17?

Yes, it is. From the requirements page:

  • PHP version 5.2.4 or greater
  • MySQL version 5.0 or greater

You don’t need an update, try the various debug tools to see what goes wrong.

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