• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Simple Sql trouble

Kokko

New Member
Joined
May 1, 2009
Messages
67
Reaction score
2
I was just woundering whats wrong when I get this errorcode in xampp when trying to load my sql database.


Fråga=Question Sa=Said.



SQL-fråga:

CREATE TABLE "server_config"(
"config"VARCHAR( 35 ) NOT NULL DEFAULT '',
"value"INTEGER NOT NULL ,
UNIQUE (
"config"
)
);







MySQL sa: Dokumentation
#1064 - 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 '"server_config" (
"config" VARCHAR(35) NOT NULL DEFAULT '',
"value" INTEGER ' at line 1
 
Try:
PHP:
CREATE TABLE `server_config` (
  `config` varchar(35) NOT NULL DEFAULT '',
  `value` int(11) NOT NULL ,
UNIQUE (
`config`
)
);
 
Thanks for the help!

one problem though how do i add it do i make a new sql table or open the sql file with notepad?


Thanks


Tried entering it but cant get it to work.


I have used SQlitestudio to extract my database into a sql file. The database is from my s3db file.
 
Last edited:
Im changing my question abit. How do I ad "otserver".killers table, i seem to need it for Modern AAC.

Im switching server base completley.
 
Back
Top