Backup and error dmlreadexception

Re: Backup and error dmlreadexception

by Patrick Lemaire -
Number of replies: 1
Picture of Particularly helpful Moodlers Picture of Testers

Hi Jean-Marc,

I already had this issue when I was under MySQL engine...

You can find your way through https://docs.moodle.org/27/en/error/moodle/dmlwriteexception

To be short, it's about max_allowed_packet option. You probably need to rise this value because one content is too big.

Change in the my.ini or ~/.my.cnf file by including the single line under [mysqld] section in your file:

max_allowed_packet=500M

then restart the MySQL service and you are done.

Regards,
Patrick
Average of ratings: Useful (1)