Get WP_Query query after execution?

Try the $query_vars property:

$the_query = new WP_Query( $args );

$query_arguments = $the_query->query_vars;

Which should return an associative array of query variables. To test:

var_dump( $query_arguments );

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