What is the proper way to use add_rewrite_rule to remove the (question mark)?

You need to use your page id of “People” page. If i assume it is 12 then this will do,

add_rewrite_rule('^people/([^/]*)/?','index.php?page_id=12&name=$matches[1]','top');

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