How can I use prefixes on database table names in Ejabberd? I have the mysql.sql file with the schema and I would to use the prefix "ejabberd_" on all the tables.

I can't seem to find anything on the documentation.


  • What's wrong with it living within its own database? Multiple database per mysql server is built-in. Then you're just doing ejabberd.table instead of ejabberd_table. – chicks Jun 27 '18 at 13:58
  • 1
    In this case I want to have everything on the same database. Unfortunately simple table names like 'users' would conflict with the actual users table on my system. Anyways, if it's not possible, it'll just be installed on it's own database. It could be an option to the ejabberd configuration though. – nhenrique Jun 27 '18 at 14:32

From what I know, there is no option to define custom table prefixes.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.