Linting is disabled for this query because it Exceeds the Maximum lengt

Asked

Viewed 594 times

0

next I’m having a problem in mysql which is as follows, when I register 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 in the database in the text field, when I try to do the direct Insert by phpmyadmin already with the coding Base64 it gives the following message.

"linting is disabled for this query because it Exceeds the Maximum length" Someone knows how to fix this?

The link to the code is this

inserir a descrição da imagem aqui

1 answer

0

Apparently your Base64 encoding is crossing the character limit of the Mysql TEXT field.

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

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

Browser other questions tagged

You are not signed in. Login or sign up in order to post.