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语句了,可能你漏了某条语句,就会直接报错,可以把你写的语句放在查询里面检查一下,运行通过了就没有问题

posted on 2019-11-13 10:53  nomanisaisland  阅读(120)  评论(0编辑  收藏  举报

导航