插入数据库失败([Err] 1064 - You have an error in your SQL syntax; check the manual that corresponds to your
Posted yang101
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了插入数据库失败([Err] 1064 - You have an error in your SQL syntax; check the manual that corresponds to your相关的知识,希望对你有一定的参考价值。
报错信息如下:
[SQL]INSERT INTO read VALUES(123, 456) [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 ‘read VALUES(123, 456)‘ at line 1
原因,read是数据库的关键字,
牢记,如果一个词是数据库的关键字,那么在写数据库语句的时候,这个词一定是蓝色的(关键字颜色)!!
以上是关于插入数据库失败([Err] 1064 - You have an error in your SQL syntax; check the manual that corresponds to your的主要内容,如果未能解决你的问题,请参考以下文章
Python操作mysql数据库出现pymysql.err.ProgrammingError: (1064, "You have an error in your SQL syntax; c
[Err] 1064 - You have an error in your SQL syntax; check the manual that corresponds...
MySQL错误[ERR] 1064 - You have an error in your SQL syntax;
[Err] 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL s
[Err] 1064 - You have an error in your SQL syntax; check the manual that cor错误时
Mysql错误:[Err] 1064 - You have an error in your SQL syntax; check the manual that corresponds to your