The creation of the "agents" table gives the following error >>
-- --------------------------------------------------------
--
-- Table structure for table `agents`
--
CREATE TABLE IF NOT EXISTS `agents` (
`agent_id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
`agent_name` varchar(255) NOT NULL DEFAULT '',
`hits` int(10) UNSIGNED NOT NULL DEFAULT 0,
`ins_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`agent_id`),
UNIQUE KEY `agent_name` (`agent_name`) USING HASH
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4
#1071 - Specified key was too long; max key length is 1000 bytes
With this error, any table after stafmessages table is also not created.
Removing the agents table sql, then all table created without error.
Running 10.3.24-MariaDB - Source distribution with
PHPMyAdmin 5.10
Update >>
Managed to create the agents table, by removing this line >>
UNIQUE KEY `agent_name` (`agent_name`) USING HASH
If It Ain't Dutch, It Ain't Much!!
Last edited by Propaganda on 2021-05-16 09:00:01