Dynamic URL with rewrite rule not working

There’s nothing wrong with my code. Maybe it was not refreshed instantly so the changes did not propagate right away.

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