bulaoren 发表于 2011-2-27 21:01:52

[已解决]升级后,更新缓存,出现错误!

MySQL Query:SELECT * FROM destoon_article_21 WHERE catid=1857and level=5 ORDER BY addtime desc LIMIT 0,1
MySQL 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 'level=5 ORDER BY addtime desc LIMIT 0,1' at line 1 MySQL Errno:1064
Message:MySQL Query Error

不知是怎么回事,请大家帮看一下,谢谢!

[ 本帖最后由 bulaoren 于 2011-2-27 21:53 编辑 ]

bulaoren 发表于 2011-2-27 21:53:04


解决了,是语法错误,"1857and"这里少了一个空格
页: [1]
查看完整版本: [已解决]升级后,更新缓存,出现错误!