這是林地把!違規爲Radipanel SQL查詢錯誤
ALTER TABLE users
ADD totalInfractions
INT(1)NOT NULL DEFAULT '0',ADD totalWarnings
INT(1)NOT NULL DEFAULT '0',ADD banned
INT(1)NOT NULL DEFAULT '0'; INSERT INTO menu
(ID,文字,網址,資源,用戶組,受保護的,重量)VALUES(NULL, '添加違規', 'infraction.add', '_res /違規/ add.php', '5',「0 ','0'); INSERT INTO menu
(ID,文本,URL,資源,用戶組,受保護的,重量)VALUES(NULL, '刪除違規', 'infraction.remove', '_res /違規/ remove.php', '5',「0 ','0'); INSERT INTO menu
(ID,文字,網址,資源,用戶組,受保護的,重量)VALUES(NULL, '查看日誌違規', 'infraction.viewLog', '_res /違規/ view.php', '5',' 0','0'); INSERT INTO menu
(ID,文字,網址,資源,用戶組,受保護的,重量)VALUES(NULL, '清除違規日誌', 'infraction.clearLog', '_res /違規/ clear_log.php', '5',' 0','0'); INSERT INTO menu
(ID,文字,網址,資源,用戶組,受保護的,重量)VALUES(NULL, '查看我的違規記錄', 'user.viewMyLog', '_res /違規/ view_mine.php', '1', '0','0'); CREATE TABLE infraction_log
(id
INT(255)NOT NULL AUTO_INCREMENT PRIMARY KEY,username
VARCHAR(255)字符集LATIN1 COLLATE latin1_general_ci NOT NULL,reason
VARCHAR(255)字符集LATIN1 COLLATE latin1_general_ci NOT NULL,type
VARCHAR(100)字符集處理latin1 COLLATE latin1_general_ci NOT NULL,addrem
VARCHAR(3)字符集LATIN1 COLLATE latin1_general_ci NOT NULL,issuedby
VARCHAR(100)字符集LATIN1 COLLATE latin1_general_ci NOT NULL,timestamp
TIMESTAMP(255)ON UPDATE CURRENT_TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP)ENGINE = MYISAM;
這是錯誤
ALTER TABLE users
ADD totalInfractions
INT(1)NOT NULL DEFAULT '0', ADD totalWarnings
INT(1)NOT NULL DEFAULT '0', ADD banned
INT( 1)NOT NULL DEFAULT'0';
MySQL表示: