mysql.connector.errors.ProgrammingError: 1064 (4200): You have an error in your SQL syntax;

前端 未结 7 2014
暖寄归人
暖寄归人 2021-01-03 01:02

I am attempting to insert data into a MySQL database. I am using python 2.7 and I am using the mysql.connector.

My error is:

mysql.connecto

7条回答
  •  渐次进展
    2021-01-03 01:35

    I was getting same error and while searching for its solution I stumbled upon this question after several attempts I was able to resolve. The mistake was a typing error for column name in WHERE clause of UPDATE statement. My column name was 'ROLL_NO' instead I had typed 'ROLL_NO.' Please look to this point as well.

提交回复
热议问题