Thanks for the quick reply. So, how can I get further information? 

Thing is that, after 5 minutes, when I refresh the page every thing is normal.

    On Monday, April 3, 2017 3:39 PM, Ken D'Ambrosio <> wrote:

 Basically, it says that MySQL is not responding to queries. So it likely has 
died, or perhaps is mis-configured.

On April 3, 2017 7:07:25 AM EDT, Mahmood N <> wrote:
Hi,I am using Moodle which itself uses SQL for the database. Problem is that, 
when I run the email plugin and execute the command, the refresh time of the 
page becomes high (in the order of 3-5 minutes) and at the end, I see this 
Debug info: MySQL server has gone away
SELECT id, sid, state, userid, lastip, timecreated, timemodified FROM 
mdl_sessions WHERE sid = ?
[array (
 0 => 'jqfbgd5b0q6e2l81bb5gb87mn3',
Error code: dmlreadexceptionStack trace:    
   - line 479 of /lib/dml/moodle_database.php: dml_read_exception thrown
   - line 1175 of /lib/dml/mysqli_native_moodle_database.php: call to 
   - line 1551 of /lib/dml/moodle_database.php: call to 
   - line 1523 of /lib/dml/moodle_database.php: call to 
   - line 1502 of /lib/dml/moodle_database.php: call to 
   - line 286 of /lib/classes/session/manager.php: call to 
   - line 82 of /lib/classes/session/manager.php: call to 
   - line 785 of /lib/setup.php: call to core\session\manager::start()
   - line 27 of /config.php: call to require_once()
   - line 30 of /index.php: call to require_once()

Although it looks like a bug in Moodle, but the guys said it is a MySQL issue. 
I am confused about that. If you have any idea please let me know. What does 
this error say exactly?


Sent from my Android device with K-9 Mail. Please excuse my brevity.


Reply via email to