Hi,
I had faced this problem and have solution, please try this.
In includes/database.mysql.inc, at the end of function db_connect(), under the "SET NAMES" line:
mysql_query('SET SESSION wait_timeout = 60', $connection);
In includes/database.mysqli.inc, at the end of function db_connect(), under the "SET NAMES" line:
mysqli_query($connection, 'SET SESSION wait_timeout = 60');
I guess someone with more PHP experience that me could suggest a patch to check if wait_timeout is too low and fix it in some economic way.
Comments
Comment #1
brmassa commentedollie,
its not related to OpenX Manager module. its Drupal or OpenX server.
regards,
massa
Comment #2
kendre_paresh commentedHi,
I had faced this problem and have solution, please try this.
In includes/database.mysql.inc, at the end of function db_connect(), under the "SET NAMES" line:
mysql_query('SET SESSION wait_timeout = 60', $connection);
In includes/database.mysqli.inc, at the end of function db_connect(), under the "SET NAMES" line:
mysqli_query($connection, 'SET SESSION wait_timeout = 60');
I guess someone with more PHP experience that me could suggest a patch to check if wait_timeout is too low and fix it in some economic way.
Please try this, this may Help you, Good Luck