MYSQL错误
D:\yxhj\mysql\bin>mysql<BR><FONT color=#0909f7>welcome to the mysql monitor. commands end with ; or \g.<BR>your mysql connection id is 6 to server version: 4.0.18-max-nt-log<BR>Type 'help;' or '\h' for help. Type '\c' to clear the buffer.<BR></FONT>mysql>use test;<BR>datebase changed<BR>mysql> description;<BR><FONT color=#ff0000>ERROR 1064: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server <BR>version for the right syntax to use near 'description' at line 1<BR></FONT>mysql><BR><BR>说明:我把MYSQL数据库安装在了d:\yxhj\mysql目录下,并在MYSQL数据库中,建了个test库,但当我通过PHP的程序和数据库连接后,每次插入数据都能插入一条记录,但是插入的记录的所有字段都是空的,就是说每次通过PHP连接程序提交给MYSQL数据库的都是空记录,不能把自己输入的真实内容提交给数据库,我不知道是什么错误,我在命令行中输入相应命令后,结果如上,请帮忙看看那些红色字的错误,错在哪里?是不是因为那个红色错误才导致我每次提交的数据都是空的记录?我看到上面的蓝色字"<FONT color=#0938f7>welcome to ......"<FONT color=#000000>是不是说明我的MYSQL数据库已经连接成功?那些红色字</FONT><FONT color=#ff0000>"ERROR</FONT><FONT color=#ff0000> 1064....."</FONT></FONT><FONT color=#000000>是怎么回事,望高手指教.</FONT>页:
[1]
