I have a page using a pretty url and a mod_rewrite rule matching it. I expected it to give an error but it’s working. Why?

I have a page using a pretty url and a mod_rewrite rule matching it. I expected it to give an error but it’s working. Why?

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