Alpha Publish time 2017-07-29 11:06

What is this?

When I install I got this
run_sql_error
[*]SQL:CREATE TABLE pre_common_member_grouppm ( uid int(11) unsigned NOT NULL DEFAULT '0', gpmid int(11) unsigned NOT NULL AUTO_INCREMENT, `status` tinyint(1) NOT NULL DEFAULT '0', dateline int(11) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (uid,gpmid)) ENGINE=MYISAM DEFAULT CHARSET=utf8
Error:Incorrect table definition; there can be only one auto column and it must be defined as a key
Errno:1075

run_sql_error
[*]SQL:CREATE TABLE pre_forum_post ( pid int(11) unsigned NOT NULL, fid int(11) unsigned NOT NULL DEFAULT '0', tid int(11) unsigned NOT NULL DEFAULT '0', `first` tinyint(1) NOT NULL DEFAULT '0', author varchar(255) NOT NULL DEFAULT '', authorid int(11) unsigned NOT NULL DEFAULT '0', `subject` varchar(255) NOT NULL DEFAULT '', dateline int(11) unsigned NOT NULL DEFAULT '0', message mediumtext NOT NULL, useip varchar(15) NOT NULL DEFAULT '', `port` smallint(6) unsigned NOT NULL DEFAULT '0', invisible tinyint(1) NOT NULL DEFAULT '0', anonymous tinyint(1) NOT NULL DEFAULT '0', usesig tinyint(1) NOT NULL DEFAULT '0', htmlon tinyint(1) NOT NULL DEFAULT '0', bbcodeoff tinyint(1) NOT NULL DEFAULT '0', smileyoff tinyint(1) NOT NULL DEFAULT '0', parseurloff tinyint(1) NOT NULL DEFAULT '0', attachment tinyint(1) NOT NULL DEFAULT '0', rate int(11) NOT NULL DEFAULT '0', ratetimes int(11) unsigned NOT NULL DEFAULT '0', `status` int(11) NOT NULL DEFAULT '0', tags varchar(255) NOT NULL DEFAULT '0', `comment` tinyint(1) NOT NULL DEFAULT '0', replycredit int(11) NOT NULL DEFAULT '0', position int(11) unsigned NOT NULL AUTO_INCREMENT, PRIMARY KEY (tid,position), UNIQUE KEY pid (pid), KEY fid (fid), KEY authorid (authorid,invisible), KEY dateline (dateline), KEY invisible (invisible), KEY displayorder (tid,invisible,dateline), KEY `first` (tid,`first`)) ENGINE=MYISAM DEFAULT CHARSET=utf8
Error:Incorrect table definition; there can be only one auto column and it must be defined as a key
Errno:1075


vot Publish time 2017-07-30 12:42

If your MySQL version > 4.1
then you have to write
    "ENGINE=MyISAM"
else
    "TYPE=MyISAM"

change this lines corresponding your MySQL version.

vot Publish time 2017-07-30 14:17

I discovered the problem at my computer.
It is NOT required to make any changes into SQL files!
Because of the engine is doing it by itself automatically.

@Alpha, please report your system environment!

Alpha Publish time 2017-08-01 06:21

this is the information

vot Publish time 2017-08-01 07:59

"PHP version Unknown"
It is strange!

Some people said that "Free website plan" at freehosing.com is not compatible with Discuz.
Pages: [1]
View full version: What is this?