WordPress 3.1.2 Network Enabled non-www to www

Where are you trying to do the force redirect? I think the best place for this may be in a .htaccess file. Something like

RewriteEngine on
RewriteCond %{HTTP_HOST} !^www.your_domain.com$
RewriteRule ^(.*)$ http://www.your_domain.com/$1 [R=301]

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