How to Force HTTPS on a WordPress and remove HTTPS from permalinks

This plugin should handle what you’re requesting.
http://wordpress.org/plugins/wordpress-https/

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