Are you sure it was not "database connection failed!"? That's what you get if the database is overloaded in a quiz extercise. See http://moodle.org/mod/forum/discuss.php?d=125212 and http://moodle.org/mod/forum/discuss.php?d=91537
Hardware and performance
Could not insert record info in database.
This discussion has been locked so you can no longer reply to it.