[OpenSIPS-Users] unix odbc problem
ashwini.naidu at gmail.com
Mon Jul 20 12:51:15 CEST 2009
That i have done
but when i start opensips i get the following error. Can you tell me the
reason for the error
*Jul 21 02:50:24  ERROR:db_mysql:db_mysql_connect: driver error(2002):
Can't connect to local MySQL server through socket
Jul 21 02:50:24  ERROR:db_mysql:db_mysql_new_connection: initial
Jul 21 02:50:24  ERROR:core:db_do_init: could not add connection to
Jul 21 02:50:24  ERROR:group:group_db_init: unable to connect to the
Jul 21 02:50:24  ERROR:group:mod_init: unable to open database
Jul 21 02:50:24  ERROR:core:init_mod: failed to initialize module
Jul 21 02:50:24  ERROR:core:main: error while initializing modules
On Mon, Jul 20, 2009 at 4:02 PM, Iñaki Baz Castillo <ibc at aliax.net> wrote:
> 2009/7/20 ASHWINI NAIDU <ashwini.naidu at gmail.com>:
> > But i don't want mysql server to be installed in same server as opensips.
> > when i compile by removing db_mysql in exclude_modules it searches for
> > mysql/mysql.h which is not present in the same system as opensips. how do
> > solve this.
> Please, *believe me*: You don't need MySQL *server* installed on same
> host as OpenSIPS in order to use MySQL in OpenSIPS!
> What you need is the mysql development libraries to compile the MySQL
> *client* for opensips-mysql module!
> Iñaki Baz Castillo
> <ibc at aliax.net>
> Users mailing list
> Users at lists.opensips.org
Ashwini BR Naidu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users