ejabberd - Comments for "service does not work windows 2003 x64 mssql odbc installation" https://www.ejabberd.im/node/4068 en SOLUTION for odbc error running as Windows Service https://www.ejabberd.im/node/4068#comment-56745 <h1>================ SOLUTION ===================</h1> <div class="codeblock"><code>Error:<br />I(&lt;0.275.0&gt;:ejabberd_odbc:205) : odbc connection failed:<br />** Reason: &quot;No SQL-driver information available. Connection to database failed.&quot;<br />** Retry after: 30 seconds</code></div> <p>happens on Windows because EjabberD windows installer installs server as windows service but it lacks permissions for running (as I think).</p> <p>You can solve it that way:</p> <p>- go to <strong>'Administrative Tools' -&gt; 'Services'</strong><br /> - find installed ejabberd service and open its Properties window<br /> - go to <strong>'Log on'</strong> tab<br /> - see option <strong>'Log on as'</strong> and change from <strong>'Local System account'</strong> to <strong>'This account'</strong><br /> - select correct login name and password in your system for running EJabberD with explicitly selected admin's account</p> <p>Error about ODBC error should go away. That works fine for me.</p> Mon, 18 Oct 2010 07:54:35 +0000 bkandger comment 56745 at https://www.ejabberd.im Try to configure the option odbc_server https://www.ejabberd.im/node/4068#comment-55806 <p>The ejabberd Guide doesn't explain this important MSSQL configuration:</p> <div class="quote-msg"> <div class="quote-author">Quote:</div> <p>The actual database access is defined in the option odbc_server. Its value is used to defined if we want to use ODBC (or MSSQL), or one of the two native interface available, PostgreSQL or MySQL.</p> <p>To use a relational database through ODBC (or MSSQL), you can pass the ODBC connection string as odbc_server parameter. For example:</p> <p>{odbc_server, "DSN=database;UID=ejabberd;PWD=password"}. </p></div> Mon, 24 May 2010 15:11:32 +0000 mfoss comment 55806 at https://www.ejabberd.im