How to add a Rewrite Rule / Category Structure

I found the correct url and patched the rewrite and it works perfectly now! This is what I ended with!

add_rewrite_rule('^vehicle-make/([^/]*)/([^/]*)/?','index.php?vehicle-make=$matches[1]&sort=$matches[2]','top');

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