Native mySQL or ODBC?

Hello!

I have this question: I already have a user database on my website. It's in mysql database. I want to use it for user authentication. Is it possible, I mean is it possible instead of using the included mysql schema files and creating new database and tables to use existing table?

Do I need to build native mySQL odbc module for that or can I use mySQL ODBC + unixODBC for that?

Thank you.

Use extauth

Instead of using ejabberd's internal or mysql authentication, you can tell ejabberd to use an external authentication script.

You must write that script, and you have freedom to read from MySQL, with any table type, or any other storage way. There are some examples of Authentication Scripts, including two that use MySQL.

Syndicate content