请问下是什么引起的错误

cherry_hit_tom 2014-04-25 12:09:43
2014/04/25 10:43:29 MySQL error 1064: 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 'pjx%&'' at line 1 select id from users where user_id=' 上海的天~pjx%&'
...全文
89 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
ACMAIN_CHM 2014-04-25
  • 打赏
  • 举报
回复
最好在命令行工具直接执行以判断到底是否有错误。
benluobo 2014-04-25
  • 打赏
  • 举报
回复
select id from users where user_id=' 上海的天~pjx%&' 测试没问题
cherry_hit_tom 2014-04-25
  • 打赏
  • 举报
回复
select id from users where user_id=' 上海的天~pjx%&'
benluobo 2014-04-25
  • 打赏
  • 举报
回复
贴出你的SQL语句

56,679

社区成员

发帖
与我相关
我的任务
社区描述
MySQL相关内容讨论专区
社区管理员
  • MySQL
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧