DBD::mysql::db do failed: Specified key was too long; max key length is 767 bytes at opt/
homer_mysql_rotate.pl line 408.
Failed to execute query [CREATE TABLE IF NOT EXISTS `webrtc_capture_all_20170329` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`micro_ts` bigint(18) NOT NULL DEFAULT '0',
`method` varchar(100) NOT NULL DEFAULT '',
`caller` varchar(250) NOT NULL DEFAULT '',
`callee` varchar(250) NOT NULL DEFAULT '',
`session_id` varchar(256) NOT NULL DEFAULT '',
`correlation_id` varchar(256) NOT NULL DEFAULT '',
`source_ip` varchar(60) NOT NULL DEFAULT '',
`source_port` int(10) NOT NULL DEFAULT 0,
`destination_ip` varchar(60) NOT NULL DEFAULT '',
`destination_port` int(10) NOT NULL DEFAULT 0,
`proto` int(5) NOT NULL DEFAULT 0,
`family` int(1) DEFAULT NULL,
`type` int(5) NOT NULL DEFAULT 0,
`node` varchar(125) NOT NULL DEFAULT '',
`msg` varchar(3000) NOT NULL DEFAULT '',
PRIMARY KEY (`id`,`date`),
KEY `date` (`date`),
KEY `sessionid` (`session_id`),
KEY `correlationid` (`correlation_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=8 COMMENT='20170329'
/*!50100 PARTITION BY RANGE ( UNIX_TIMESTAMP(`date`))
(PARTITION p2017032900 VALUES LESS THAN (1490832000),
PARTITION pmax VALUES LESS THAN MAXVALUE ENGINE = InnoDB) */ ;
I tried reproducing #2 on a different mysql but it doesn't happen... has this happen to anyone else?
I will make a PR to fix these two bugs once i've got them sorted out.