MySQL table creation problem
#3

Quote:
Originally Posted by Sreyas
Посмотреть сообщение
closing parentheses should be before ENGINE dont include it in those
PHP код:
" )ENGINE = InnoDB DEFAULT CHARSET = latin1"sizeof(query)); 
whole sql command
PHP код:
 CREATE TABLE IF NOT EXISTS `Users` (
    `
UserIDint(10NOT NULL ,
    `
Usernamevarchar(24NOT NULL,
    `
AdminLevelint(1NOT NULL DEFAULT 0
    `
IPvarchar(16NOT NULL,
    `
Registrationvarchar(10NOT NULL
    `
Passwordvarchar(256NOT NULL,
    `
Scoreint(10NOT NULL DEFAULT 0,  
    `
Killsint(10NOT NULL DEFAULT 0
    `
Deathsint(10NOT NULL DEFAULT 0,
    `
Assistsint(10NOT NULL DEFAULT 0,
    `
VIPint(1NOT NULL DEFAULT 0,
    `
VIPExpirevarchar(10), 
    `
AutoLoginint(1NOT NULL DEFAULT 0
     
PRIMARY KEY (`UserID`)
)  
ENGINE=InnoDB DEFAULT CHARSET=latin1
Thanks
Reply


Messages In This Thread
MySQL table creation problem - by NeXoR - 10.10.2016, 03:43
Re: MySQL table creation problem - by SyS - 10.10.2016, 04:00
Re: MySQL table creation problem - by NeXoR - 10.10.2016, 04:20

Forum Jump:


Users browsing this thread: 1 Guest(s)