unknown column in field list
时间: 2024-04-28 20:25:05 浏览: 201
Unknown column in field list是MySQL数据库插入数据时出现的错误。这个错误通常是由于数据库表中不存在所插入的字段导致的。一种可能的原因是,实体类中的字段与数据库表中的字段不一致。如果数据库中没有该字段,而实体类中出现了该字段,就会报这个错误。另一种可能的原因是,该字段是后来添加到数据库表中的,如果单独获取该列会报错,可以尝试将数据表中的该列重新命名,然后保存。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [Unknown column ‘xxx‘ in ‘field list](https://blog.csdn.net/weixin_47450719/article/details/127996290)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* [MYSQL:Unknown column ‘字段名‘ in ‘field list‘ 错误解决方案](https://blog.csdn.net/qingmenghan/article/details/120716573)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文