where mysql CHARACTER SET utf8mb4 have some errorQuote:
Creating tables...Specified key was too long; max key length is 1000 bytes
FILE:
Quote:
\htdocs\xoops_lib\modules\protector\sql\mysql.sql
CODE:
CREATE TABLE log (
lid mediumint(8) unsigned NOT NULL auto_increment,
uid mediumint(8) unsigned NOT NULL default 0,
ip varchar(255) NOT NULL default '0.0.0.0',
type varchar(255) NOT NULL default '',
agent varchar(255) NOT NULL default '',
description text,
extra text,
timestamp DATETIME,
PRIMARY KEY (lid) ,
KEY (uid) ,
KEY (ip) ,
KEY (type) ,
KEY (timestamp)
) ENGINE=MyISAM;
CREATE TABLE access (
ip varchar(255) NOT NULL default '0.0.0.0',
request_uri varchar(255) NOT NULL default '',
malicious_actions varchar(255) NOT NULL default '',
expire int NOT NULL default 0,
KEY (ip),
KEY (request_uri),
KEY (malicious_actions),
KEY (expire)
) ENGINE=MyISAM;
EDIT:
CREATE TABLE log (
lid mediumint(8) unsigned NOT NULL auto_increment,
uid mediumint(8) unsigned NOT NULL default 0,
ip varchar(128) NOT NULL default '0.0.0.0',
type varchar(250) NOT NULL default '',
agent varchar(255) NOT NULL default '',
description text,
extra text,
timestamp DATETIME,
PRIMARY KEY (lid) ,
KEY (uid) ,
KEY (ip) ,
KEY (type) ,
KEY (timestamp)
) ENGINE=MyISAM;
CREATE TABLE access (
ip varchar(128) NOT NULL default '0.0.0.0',
request_uri varchar(250) NOT NULL default '',
malicious_actions varchar(250) NOT NULL default '',
expire int NOT NULL default 0,
KEY (ip),
KEY (request_uri),
KEY (malicious_actions),
KEY (expire)
) ENGINE=MyISAM;
OR:(use utf8mb3)
CREATE TABLE log (
lid mediumint(8) unsigned NOT NULL auto_increment,
uid mediumint(8) unsigned NOT NULL default 0,
ip varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL default '0.0.0.0',
type varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL default '',
agent varchar(255) NOT NULL default '',
description text,
extra text,
timestamp DATETIME,
PRIMARY KEY (lid) ,
KEY (uid) ,
KEY (ip) ,
KEY (type) ,
KEY (timestamp)
) ENGINE=MyISAM;
CREATE TABLE access (
ip varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL default '0.0.0.0',
request_uri varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL default '',
malicious_actions varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL default '',
expire int NOT NULL default 0,
KEY (ip),
KEY (request_uri),
KEY (malicious_actions),
KEY (expire)
) ENGINE=MyISAM;