错误:1064 [英] Error:1064

查看:78
本文介绍了错误:1064的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有MYSQL版本。 5在服务器上运行,下面是我的查询命令,我收到错误消息:


您的SQL语法有错误。检查与MySQL服务器版本对应的手册,以便在第1行''$ file $ FROM

'

''''''''''''''''''''''''''''''''''''''''''''''''''''''''' :

展开 | 选择 | Wrap | 行号

解决方案

嗨。


有您发布的查询没有错。

我甚至创建了测试表并执行它只是为了确保。


必须有其他事情发生。

你是如何执行查询的?

是吗?是否涉及任何代码,例如PHP?


是的我使用PHP5并且我也直接在MSQL上测试它,我很困惑为什么它没有执行


< blockquote>是的我使用PHP5并且我也直接在MSQL上测试它,我很困惑,为什么它不执行下面是我运行PHP时的实际错误消息。


错误! SQL查询失败:

您的SQL语法有错误。检查与MySQL服务器版本对应的手册,以便在''select tableid from table2'附近使用正确的语法,并且f.approval1 =''K



我是否在我的ini文件中进行任何设置?


I have MYSQL ver. 5 running on a server and below is my query command where I got error message:

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 ''SELECT fileid FROM cmr_revievers)'' at line 1

my Query goes like this:

Expand|Select|Wrap|Line Numbers

解决方案

Hi.

There is nothing wrong with the query you posted.
I even created test tables and executed it just to make sure.

There must be something else going on.
How are you executing the query?
Is there any code involved, like say, PHP?


Yes Im using PHP5 and I test it on MSQL directly as well, Im confused why its not executing


Yes Im using PHP5 and I test it on MSQL directly as well, Im confused why its not executing below is my actual error message when I run my PHP.

Error! SQL query failed:
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 ''select fileid from table2) AND f.approval1=''K

Do I have make any set-ups on my ini file?


这篇关于错误:1064的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆