add session variable settings for mysql connections in phamServer to prevent disconnect on long sessions