Home > Database > Mysql Tutorial > Data truncated for column 错误_MySQL

Data truncated for column 错误_MySQL

WBOY
Release: 2016-06-01 13:18:52
Original
1263 people have browsed it

bitsCN.com

今天插入mysql数据数据时,报错Data truncated for column。研究了一下原理是我数据的长途超出了该字段的最大长度,所以解决办法很简单,就是修改数据库中字段属性,使其长度增加即可~

bitsCN.com
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template