your MySQL server version for the right syntax to use near ‘‘ at line 1

文章目录


这个错误大概率是前端没有传值.造成where后面的值为空.where没有跟条件报错.
也有可能是@param 或mybatis的传参类型没有写

前端会报
在这里插入图片描述
后端会报
在这里插入图片描述
your MySQL server version for the right syntax to use near ‘’ at line 1

这个是后端校验顺序写反导致的,后端没有检验前端值就直接存入库中.然后校验…

  • 1
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 1
    评论
这个错误信息"check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line "是指在你MySQL语句中存在语错误,需要根据你的MySQL服务器版本来使用正确的语法。 这个错误通常发生在SQL语句的某一行的附近。具体的语法错误需要根据你的SQL语句来确定,可能是缺少了某个关键字、拼写错误、或者错误使用了某个符号。你可以参考MySQL的官方文档来查找正确的语法,并且确保你的SQL语句与你的MySQL服务器版本兼容。可以尝试使用调试工具来逐行检查你的SQL语句,找出错误所在并进行修正。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* [check the manual that corresponds to your MySQL server version for the right syntax to use near](https://blog.csdn.net/cdliker/article/details/106815722)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"] - *2* [your MySQL server version for the right syntax to use near ‘(0) NOT NULL, `endTime` datetime(0) NO](https://download.csdn.net/download/weixin_38515573/13688019)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"] - *3* [check the manual that corresponds to your MySQL server version for the right syntax to use near解决...](https://blog.csdn.net/qq_35623773/article/details/109752080)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

最难不过坚持丶渊洁

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值