PHPMyAdmin 警报框 - 表单中缺少值 - 所有常用字段都已填写? [英] PHPMyAdmin alert box - missing value in the form - all usual fields are filled out?

查看:24
本文介绍了PHPMyAdmin 警报框 - 表单中缺少值 - 所有常用字段都已填写?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

出于某种原因,在使用 PHPMyAdmin 并尝试保存表格时,即使我已经输入了我通常所做的所有信息,但我还是会弹出一个警告框,其中包含表单中缺少值!"的内容.

For some reason while using PHPMyAdmin and attempting to save a table, even though I've entered all of the information I usually do I'm getting an alert box popping up with the content "Missing value in the form!".

这是我的 PHPMyAdmin 控制台的屏幕截图(由于分辨率原因合并了 2 个屏幕):

PHPMyAdmin 创建表格模式框

到目前为止我尝试过的:

  • 将数据类型全部更改为VARCHAR,长度为255(deindeal_id 列除外,保持INT 长度为 12).
  • description 包含在 "`" (bacticks) 中,认为它可能是某种保留字.
  • 添加一个联盟.
  • 使用不同的表引擎(InnoDB、MyISAM(我想要的)).
  • Changing the data types all to VARCHAR with a length of 255 (except for the deindeal_id column, which remained INT with a length of 12).
  • Encasing description in "`" (bacticks), thinking it may be a reserved word of some sort.
  • Adding a coalition.
  • Using different table engines (InnoDB, MyISAM (the one I wanted)).

对于可能导致此问题的原因,我真的很困惑,因此将不胜感激任何答案!

I'm really stumped as to what could be causing this issue, so any answers would be greatly appreciated!

推荐答案

遇到同样的错误,可能是一个 Bug.

Got the same error, probably a Bug.

Lex 说的话:也许如果你定义一个 NOT NULL 列(即不选中 Null 列中的框,你必须定义一个默认值? – Lex 20 小时前"

What Lex said: "Maybe if you define a column NOT NULL (ie. don't check the box in the Null column, you have to define a default value? – Lex 20 hours ago"

  • 没有.也不起作用,也没有多大意义.如果没有定义默认值,服务器要么插入空字符串,要么查询失败;取决于设置.

这篇关于PHPMyAdmin 警报框 - 表单中缺少值 - 所有常用字段都已填写?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆