node连接mysql的一个问题

ER_PARSE_ERROR: 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 'W HERE user_account = 'xxx' AND user_password= 'xxx'' at line 1

一般报以上错误,你就需要检查你的mysql语句了,可能你漏了某条语句,就会直接报错,可以把你写的语句放在查询里面检查一下,运行通过了就没有问题

NO MAN IS A ISLAND
原文地址:https://www.cnblogs.com/nomanisaisland/p/11847410.html