ejabberd - Comments for "Authenticate Against MySQL with Perl" https://www.ejabberd.im/check_mysql_perl en Addtional information https://www.ejabberd.im/check_mysql_perl#comment-56580 <p>I recently tried to get it working with ejabbered 2.1.5 and have some comments that might help future users of this:</p> <p>In the check_mysql.pl script :</p> <p>my ($op,$user,$password) = split /:/,$buf;</p> <p>should be changed to :</p> <p>my ($op,$host, $user,$password) = split /:/,$buf;</p> <p>else, password field may not have the correct value.</p> <p>Its good to keep this script in /var/lib/ejabberd/ [ assuming standard install] - and the datbase password is supplied in a separate file ./datosSql in the format :</p> <p>[client]<br /> password="mypassword"</p> <p>- make sure that complete path is specified to this file e.g /var/lib/ejabbered/datatoSql</p> Thu, 02 Sep 2010 10:19:06 +0000 anil_singhal comment 56580 at https://www.ejabberd.im