How to pass the current content of $wp_query to a new page?

In your index.php

global $query_string;
setcookie('my_wp_query', $query_string);

or

global $query_string;
$_SESSION['my_wp_query'] = $query_string;

whatever you prefer.

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