Linting is disabled for this query because it exceeds the maximum lengt

0

Next I have a problem with mysql which is as follows when I am going to add an image in the text editor of my content manager, this image is converted to base64, this editor is summernote, however the code is added by half on the bank in the text field, when I try to insert directly through phpmyadmin already with the base64 encoding it gives the following message.

"linting is disabled for this query because it exceeds the maximum length" Does anyone know how to solve this?

The link to the code is this

    
asked by anonymous 22.02.2018 / 19:28

1 answer

0

Apparently your base64 encoding is skewing the character limit of the MySQL TEXT field.

With a quick search, I have identified that the maximum length of a TEXT field is 65,535 bytes, whereas the LONGTEXT field is 4,294,967,295 bytes.

Keeping this in mind, change the field to LONGTEXT so that your problem will be solved.

    
22.02.2018 / 19:35