I provide a mysql database name by creating database only (like mongoosedb) and change the ejabberd.cfg file accordingly . After restart mongooseim i still not get user entries in database. So what i will need to do to configure mysql as default database.
There is my ejabberd conf file:
%%
%% MySQL server:
%%
{odbc_server, {mysql, "localhost", 3306, "mongooseim", "chat", "chat"}}.
%%
There is my db:
MariaDB [mongooseim]> show tables;
+----------------------+
| Tables_in_mongooseim |
+----------------------+
| last |
| mam_config |
| mam_message |
| mam_muc_message |
| mam_server_user |
| offline_message |
| privacy_default_list |
| privacy_list |
| privacy_list_data |
| private_storage |
| roster_version |
| rostergroups |
| rosterusers |
| users |
| vcard |
| vcard_search |
+----------------------+