Mysql Data truncated for column, mysqltruncated
1. Describe your problems first.
If you want to remove the flag that allows null values... It happens that the data processed_f in the database is null and there is no value .... When you change the structure of a Data table, the message "Data truncated for column processed_f" appears .. The solution is to assign a value to the processed_f field in the database. At this time, you are saving. This error will not occur.
2. What happened to others on the Internet .. When you want to insert a record in a database in mysql, the Data truncated for column XXXXX error may occur for many reasons, which is caused by inconsistent Data types, check the length of the Data Type to solve this problem.
Mysql: Error: #01000 Data truncated for column
Check whether your SEX defines the type and whether 'B' can be saved. This may be because the type is incompatible.
Php + mysql + Dreamweaver: the submitted information displays Data truncated for column 'gender' at row 1, my database
What does the combination of php + mysql + Dreamweaver mean? Programming Language + database + editing software?