WordPress categories not working throughout site

Quite often, after WP or plugin updates, just re-saving the Settings->Permalinks works for me (without changing anything).

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