xammp server permalink by postname not working

In xampp/apache/conf/httpd.conf, under Dynamic Shared Object (DSO) Support, enable mod_rewrite. Uncomment the line:

LoadModule rewrite_module modules/mod_rewrite.so

Then restart the server, and set the permalinks in WordPress again.

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