CMSV6Help Center
/
839 DOCS · 211 VIDEOS中文

MySQL5.7 Database Times Error During Software Upgrade -1101 Resolution

Author daiweiqiangUpdated 2026-08-12 14:39:49Doc ID 272676 words · 1 min readView original ↗

1, reporting the reason for the error

MySQL in strict mode, BL0B,TEXT,GEOMETRY and JSON types do not allow default values!
The error is as follows:
[Err]1101 - BLOB, TEXT, GEOMETRY or JSON column 'content' can't have a default value

2 Solution

  • Run the following SQL statement, remove the strict mode, do not need to restart mysql service, re- execute the update script.
    set GLOBAL SQL _mode = 'NO_ENGINE_SUBSTITUTION'

  • View SQL _mode
    show variables like 'SQL _mode'


Source help.cmsv7.com
839 documents · 211 videos · docs.alwaycare.com