c# 连接 mysql数据 更新问题
我本机连接 c# 连接mysql
连接成功 可以查询
但进行数据更新的时候总提示
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 'update projects set rgt=rgt+2 where rgt>= 8' at line 1
我的sql语句
update projects set rgt=rgt+2 where rgt>= 8;
此语句在mysql 工具执行 没问题