因此,自上周五以来,我一直在从事此工作,但无法解决此错误:1064, “You have an error in your SQL syntax; check the manual thatcorresponds to your MySQL server version for the right syntax to usenear ‘[u’161010-035670′] WHERE order_id=87’ at line 1″ or somethingalong the same lines as this error.基本上,我的python将从MySQL数据库中获取数据,它使用Simple-Salesforce在SalesForce中创建一个案例,然后查询它...
我正在引用this page以便对我的数据库进行SELECT查询.但是,我收到此错误:mysql.connector.errors.ProgrammingError: 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 '%s' at line 1以下是带有问题的代码部分:import mysql.connector cnx = mysql.connector.connect(user='xxxx', password='yyyy',host='zzzz.us-west-2...