ejabberd - Comments for "Setup mod_vcard_odbc for mysql" https://www.ejabberd.im/node/1247 en Should be fixed in ejabberd-2.0.0-rc1 https://www.ejabberd.im/node/1247#comment-51789 <div class="quote-msg"> <div class="quote-author"><em>chobbs</em> wrote:</div> <p>I am having trouble getting ejabberd to use mod_vcard_odbc through mysql. There are a few problems that I am hitting in trying to get it configured. Main problem is that it seems to require using ODBC for the auth_method in order to make a connection to mysql.</p></div> <p>This problem is tracked here: <noindex><a href="https://support.process-one.net/browse/EJAB-152" rel="nofollow" >Relational databases can be used for modules when using non relational authentication</a></noindex>. It should be fixed in ejabberd-2.0.0-rc1</p> Tue, 12 Feb 2008 10:45:20 +0000 mfoss comment 51789 at https://www.ejabberd.im What version of ejabberd? https://www.ejabberd.im/node/1247#comment-51788 <div class="quote-msg"> <div class="quote-author"><em>Anonymous</em> wrote:</div> <p>It is 2008 now and I am still experiencing this on Ubuntu 7.10<br /> Whenever I upgrade I have to patch this stuff again.</p></div> <p>The important is which version of ejabberd you are trying. 1.1.4 is known to have this problem. It should be fixed since 2.0.0-beta1. Did you try with the recent ejabberd 2.0.0-rc1, and you still suffer the problem?</p> Tue, 12 Feb 2008 10:44:52 +0000 mfoss comment 51788 at https://www.ejabberd.im Configurable database port https://www.ejabberd.im/node/1247#comment-51787 <div class="quote-msg"> <div class="quote-author"><em>chobbs</em> wrote:</div> <p>Also found the port is hardcoded inside src/odbc/ejabberd_odbc.erl with MYSQL_PORT.</p></div> <p>This improvement is tracked in <noindex><a href="https://support.process-one.net/browse/EJAB-195" rel="nofollow" >Ability to specify MySQL or Postgres port in the config file</a></noindex>, and is included since ejabberd 2.0.0-beta1.</p> Tue, 12 Feb 2008 10:40:17 +0000 mfoss comment 51787 at https://www.ejabberd.im Still around https://www.ejabberd.im/node/1247#comment-51582 <div class="quote-msg"> <div class="quote-author"><em>chobbs</em> wrote:</div> <div class="quote-msg"> <div class="quote-author"><em>sander</em> wrote:</div> <p>Maybe you can add an entry to the bug and wishes tracker?</p> <p>--<br /> sander</p></div> <p>Ah ... didn't even realize there was a link to that on here. Still hobbling around. :) Thanks.</p> <p>- Chris </p></div> <p>It is 2008 now and I am still experiencing this on Ubuntu 7.10<br /> Whenever I upgrade I have to patch this stuff again. </p> <p>Is it just me or has this issue simply not found its way into process-one's jira, yet?</p> Mon, 07 Jan 2008 21:12:03 +0000 Anonymous comment 51582 at https://www.ejabberd.im Thanks for the tip. https://www.ejabberd.im/node/1247#comment-2746 <div class="quote-msg"> <div class="quote-author"><em>sander</em> wrote:</div> <p>Maybe you can add an entry to the bug and wishes tracker?</p> <p>--<br /> sander</p></div> <p>Ah ... didn't even realize there was a link to that on here. Still hobbling around. :) Thanks.</p> <p>- Chris</p> Sat, 16 Dec 2006 15:27:14 +0000 chobbs comment 2746 at https://www.ejabberd.im Bugzilla https://www.ejabberd.im/node/1247#comment-2745 <div class="quote-msg"> <div class="quote-author"><em>chobbs</em> wrote:</div> <p>It would be great if the config somehow actived the database connection when it saw the odbc_server entry instead of depending on the auth_method to do that step.</p></div> <p>Maybe you can add an entry to the bug and wishes tracker?</p> <p>--<br /> sander</p> Sat, 16 Dec 2006 09:19:08 +0000 sander comment 2745 at https://www.ejabberd.im Looked through the code and https://www.ejabberd.im/node/1247#comment-2740 <p>Looked through the code and sure enough you have to use ODBC for the auth_method in order to enable ODBC for anything at all. It is the only module that starts up the ODBC supervisor. Ended up copying the start_child code to the mod_vcard_odbc module's Start function. It makes the connection and seems to work okay.</p> <p>Also found the port is hardcoded inside src/odbc/ejabberd_odbc.erl with MYSQL_PORT.</p> <p>Hopefully this info will help somebody else in need of activating only part of the functionality. It would be great if the config somehow actived the database connection when it saw the odbc_server entry instead of depending on the auth_method to do that step.</p> <p>- Chris</p> Sat, 16 Dec 2006 01:38:57 +0000 chobbs comment 2740 at https://www.ejabberd.im