Connect to your database from a command line and execute following statement for MySQL database:
call TigPutDBProperty('password-encoding', 'encoding-mode');
Where encoding mode is one of the following:
MD5-PASSWORD
the database stores MD5 hash code from the user’s password.MD5-USERID-PASSWORD
the database stores MD5 hash code from concatenated user’s bare JID and password.MD5-USERNAME-PASSWORD
the database stores MD5 hash code from concatenated user’s name (localpart) and password.
For example:
call TigPutDBProperty('password-encoding', 'MD5-PASSWORD');