MariaDB [openfire]> source /usr/share/openfire/resources/database/openfire_mysql.sql;
ERROR 1071 (42000) at line 119 in file: ‘/usr/share/openfire/resources/database/openfire_mysql.sql’: Specified key was too long; max key length is 767 bytes
ERROR 1071 (42000) at line 127 in file: ‘/usr/share/openfire/resources/database/openfire_mysql.sql’: Specified key was too long; max key length is 767 bytes
ERROR 1071 (42000) at line 143 in file: ‘/usr/share/openfire/resources/database/openfire_mysql.sql’: Specified key was too long; max key length is 767 bytes
ERROR 1071 (42000) at line 163 in file: ‘/usr/share/openfire/resources/database/openfire_mysql.sql’: Specified key was too long; max key length is 767 bytes
ERROR 1146 (42S02) at line 372 in file: ‘/usr/share/openfire/resources/database/openfire_mysql.sql’: Table ‘openfire.ofMucService’ doesn’t exist
MariaDB [openfire]> show tables;
±---------------------+
| Tables_in_openfire |
±---------------------+
| mucextinfo |
| ofBookmark |
| ofConParticipant |
| ofConversation |
| ofExternalServices |
| ofGroup |
| ofGroupProp |
| ofGroupUser |
| ofID |
| ofMessageArchive |
| ofMucAffiliation |
| ofMucConversationLog |
| ofMucMember |
| ofMucRoom |
| ofMucRoomProp |
| ofMucServiceProp |
| ofOffline |
| ofPresence |
| ofPrivacyList |
| ofProperty |
| ofPubsubAffiliation |
| ofPubsubDefaultConf |
| ofPubsubItem |
| ofPubsubNode |
| ofPubsubNodeGroups |
| ofPubsubNodeJIDs |
| ofPubsubSubscription |
| ofPushNotiService |
| ofRRDs |
| ofRoster |
| ofRosterGroups |
| ofSecurityAuditLog |
| ofUser |
| ofUserFlag |
| ofUserProp |
| ofVCard |
| ofVersion |
±---------------------+
Due to the fact that this Table 'openfire.ofMucService’is missing Some errors pop up. For example, you don’t create a service or switch to the room administrator. I think a lot of errors with plugins where this table appears.
Please help me create this table with all its parameters.