Warning: Data truncated for column 'xxxx' at row 1

The problem was that I changed the column's length only in the program.I had to do either change the length of the column in the database table or delete the table(The new table created will have the correct length specified in the program.

原文地址:https://www.cnblogs.com/linkxu1989/p/6999393.html