Import database on maria error

oltean-tiberiu

Dec 9th, 2018 11:20 AM

Hello, I have this error on import on maria db MySQL version: 10.1.36-MariaDB

CREATE TABLE IF NOT EXISTS categories ( id int(10) unsigned NOT NULL AUTO_INCREMENT, parent_id int(10) unsigned DEFAULT NULL, order int(11) NOT NULL DEFAULT '1', name varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, slug varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, created_at timestamp NULL DEFAULT NULL,

Error: 

#1709 - Index column size too large. The maximum column size is 767 bytes.

balam-web

Dec 9th, 2018 07:58 PM

oltean-tiberiu

Dec 10th, 2018 10:06 AM

Thanks working