powered by Jive Software

Manualy adding users to mysql database

Hi All,

I would like to know if it is possible to add users directly to the mysql database.

Preleminary tests show no succes, maybe I am doing this wrong? I use to do it with jabberd2, so I would like to adapt my code to Messenger. Is there a better way?



Yes, it shouldn’'t be a problem to add users directly to the database. What problems are you running into? The only tricky thing is to make sure you keep the jiveID table up to date as you add new users. The jiveID table is used for keeping track of sequences.



Humm, thanks, this works…

I needed to update the jiveID table where idType = 3, set id the latest jiveUserID.objectID.

how/where are the idType’'s defined ?