The error in your SQL syntax is caused by using the keyword "signal" as a column name. "Signal" is a reserved word in MySQL, so you cannot use it as a column name without enclosing it in backticks (). \n\nTo fix the error, you need to modify your SQL query as follows:\n\nUPDATE ecu \nSET ecuRegDate = ?, \necuStateDate = ?, \nserverDate = ?, \nreading = ?, \nvBattery = ?, \nsignal` = ?, \nrepeatersId = ?, \nlhecuId = ? \nWHERE ecuId = ?

MySQL Syntax Error:

原文地址: https://www.cveoy.top/t/topic/pgBj 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录