Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/mysql/60.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Mysql由于某种原因出错?_Mysql_Sql - Fatal编程技术网

Mysql由于某种原因出错?

Mysql由于某种原因出错?,mysql,sql,Mysql,Sql,对不起,最后一个问题。普什倒下了!无论如何,这里: [25/08/2013 00:07:50][DB LIB]在@MySQL_Connection::RunQuery(插入字符(accountid、name、world、level、exp、str、dex、int、luk、hp、maxhp、mp、maxmp、meso、hpApUsed、job、skincolor、gender、fame、hair、face、faceMarking、ap、map、spownpoint)值时发生异常(1,xenn,0,

对不起,最后一个问题。普什倒下了!无论如何,这里:

[25/08/2013 00:07:50][DB LIB]在@MySQL_Connection::RunQuery(插入字符(accountid、name、world、level、exp、str、dex、int、luk、hp、maxhp、mp、maxmp、meso、hpApUsed、job、skincolor、gender、fame、hair、face、faceMarking、ap、map、spownpoint)值时发生异常(1,xenn,0,1,0,4,4,4,4,50,50,50,50,0,03002,1,0,036473201851012363,0,0,0,0)):MySql.Data.MySqlClient.MySqlException(0x80004005):您的SQL语法有错误;请查看与您的MySQL服务器版本对应的手册,以了解第1行的“int、luk、hp、maxhp、mp、maxmp、meso、hpapuse、job、skincolor、gender、fame、ha”附近使用的正确语法

为什么会出现错误?谢谢!

INT
是一个错误。您需要用记号将其包装起来

INSERT INTO characters (accountid, name, world, level, exp, str, dex, `int`, luk, hp, maxhp, mp, maxmp, meso, hpApUsed, job, skincolor, gender, fame, hair, face, faceMarking, ap, map, spawnpoint) 
VALUES (1,xenn,0,1,0,4,4,4,4,50,50,50,50,0,0,3002,1,0,0,36473,20185,1012363,0,0,0)

或者避免它altogether@Strawberry一些游戏,包括我正在为其开发的模拟器,将int作为intelligent的缩写。您需要在这里发布原始问题。您的代码在哪里?