How to preserve the query string while using add_rewrite_rule and default public query vars

How to preserve the query string while using add_rewrite_rule and default public query vars

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