当前位置:   article > 正文

Mysql避坑:ERROR 1064 (42000): MySQL server version for the right syntax to use near 'UNSIGNED_syntax to use near '`unsigned integer`)

syntax to use near '`unsigned integer`)

错误的SQL:author_id UNSIGNED INT ,
出现错误:ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'UNSIGNED INT,

将UNSIGNED放在类型后面即 author_id INT UNSIGNED,错误信息没有了

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/花生_TL007/article/detail/508997
推荐阅读
相关标签
  

闽ICP备14008679号