Quantcast
Channel: Backup and restore
Viewing all articles
Browse latest Browse all 6662

Error writing to database when importing from one course to another or performing backups (v2.9.1)

$
0
0
by Dave Perry.  

One of my colleagues has had issues importing from or backing up certain courses. With debugging mode on, I have compared a working backup/import with a one from this page that gives us the

The table concerned is mdl_backup_controller, and the LONGTEXT field in the INSERT statement ('operation') has two massively different values - on the working one, the operation value was about 143k characters. On the poorly one, it was 10x that!

1) Is a backup initialisation INSERT meant to go as high as 1.5mb? The error we get in the logs is 'MySQL Server has gone away' for this attempt.

2) Is there I know that LONGTEXT can be up to 4gb, but I can't figure out from our my.ini or PHP.ini what the maximum connection size is allowed as. Do we have to specifically allow bigger values? The other fields' values for these INSERT statements are next to nothing.


Viewing all articles
Browse latest Browse all 6662

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>