[OpenSIPS-Users] unix odbc problem

ASHWINI NAIDU 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 [2677] ERROR:db_mysql:db_mysql_connect: driver error(2002):
Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (2)
Jul 21 02:50:24 [2677] ERROR:db_mysql:db_mysql_new_connection: initial
connect failed
Jul 21 02:50:24 [2677] ERROR:core:db_do_init: could not add connection to
the pool
Jul 21 02:50:24 [2677] ERROR:group:group_db_init: unable to connect to the
database
Jul 21 02:50:24 [2677] ERROR:group:mod_init: unable to open database
connection
Jul 21 02:50:24 [2677] ERROR:core:init_mod: failed to initialize module
group
Jul 21 02:50:24 [2677] 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
> i
> > 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
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>



-- 
Thanking You,
Ashwini BR Naidu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20090720/1769d8c8/attachment.htm 


More information about the Users mailing list