I am trying to initialize OTRS. When I tried to setup the database using the web installer, I got this error:
Code: Select all
Creating database 'otrs':
Done.
Creating tables 'otrs-schema.mysql.sql':
False! :-(
---==> Specified key was too long; max key length is 767 bytes
Code: Select all
[Fri Jul 12 12:15:54 2013] -e: DBD::mysql::db do failed: Specified key was too long; max key length is 767 bytes at /opt/otrs//Kernel/Modules/Installer.pm line 334.
ERR: Specified key was too long; max key length is 767 bytes - CREATE TABLE virtual_fs (
id BIGINT NOT NULL AUTO_INCREMENT,
filename TEXT NOT NULL,
backend VARCHAR (60) NOT NULL,
backend_key VARCHAR (160) NOT NULL,
create_time DATETIME NOT NULL,
PRIMARY KEY(id),
INDEX virtual_fs_backend (backend(60)),
INDEX virtual_fs_filename (filename(350))
)
Thanks.