MySQL : Row size too large (> 8126). Changing some columns to TEXT or BLOB or using ROW_FORMAT=DYNAMIC or ROW_FORMAT=COMPRESSED

--

Row size to large ย้ายฐานข้อมูลไม่ได้

Row size too large (> 8126). เกิดจากเราออกแบบตารางที่มี ช่องข้อความยาวเกินไป เช่น

Field 01 ยาว 255
Field 02 ยาว 255
Field 03 ยาว 255
Field 04 ยาว 255
Field 15 ยาว 255

วิธีแก้คือ เพิ่ม ชุดคำสั่ง

innodb_strict_mode=0

ลงใน My.ini

จากนั้น Stop และ Start MySQL ใหม่ก็เป็นอันเรียบร้อย

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

No responses yet

Write a response