[Err] 1064 - 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 ‘,
password VARCHAR(255),
phone int,
address VARCHAR(255),
logindate DA’ at line 5
一直报1064看了网上的说是``的原因后来发现varchar后要必须跟长度否则必报错加了后可以创建成功
原
[Err] 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL s
最新推荐文章于 2024-03-18 17:21:31 发布
文章描述了作者在创建MySQL表时遇到1064错误,原因是VARCHAR类型后面忘记指定长度。解决方法是在定义password字段时添加了长度,从而成功创建表。
2694





