WeBWorK Main Forum

DBD::MariaDB::st execute failed: Data too long for column 'answer_string'

Re: DBD::MariaDB::st execute failed: Data too long for column 'answer_string'

by Nathan Wallach -
Number of replies: 0
Based on https://github.com/openwebwork/webwork2/blob/main/lib/WeBWorK/DB/Record/PastAnswer.pm it seems that the limit is 5012 characters, and this does not seem to have changed in recent versions of WeBWorK.

I would suspect that if there is a problem it is either with some specific question or with "very long answers" entered by a a student.