wp-query problem with author

I realized the problem:

while ($the_query-> have_posts()) : $the_query->the_post();;

it now works OK

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