[Err] 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB

[Err] 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'Comment:###Thanks for the detailed response! This clears up many of my concerns ’ at line 1

原因 :sql格式存在问题

在这里插入图片描述字段值以\ 反斜线结尾 ,sql识别为转义字符 及被误以为 ‘ 单引号的转义
修改方法:将 \ 反斜线 改为 \\ 反斜线反斜线(两个反斜线)
在这里插入图片描述

发布了10 篇原创文章 · 获赞 1 · 访问量 422

猜你喜欢

转载自blog.csdn.net/weixin_38919176/article/details/104195212