Hi,
this is initialization problem with some MySQL versions. Try to edit file /usr/share/netxms/sql/dbinit_mysql.sql and change
attr_name varchar(255) not null
to
attr_name varchar(63) not null
under line
CREATE TABLE userdb_custom_attributes
Best regards,
Victor