Code: Select all
# echo 'alter table xi_auditlog ADD INDEX (`user`) using btree;' |mysql -u root -pnagiosxi nagiosxi
ERROR 1170 (42000) at line 1: BLOB/TEXT column 'user' used in key specification without a key length
# echo 'alter table xi_auditlog ADD INDEX (`ip_address`) using btree;' |mysql -u root -pnagiosxi nagiosxi
ERROR 1170 (42000) at line 1: BLOB/TEXT column 'ip_address' used in key specification without a key length