[Asterisk-Users] RealTime Drivers Connectivity Error

Matthew Boehm mboehm at cytelcom.com
Mon Jan 3 08:27:57 MST 2005


> Use res_config_odbc ... Lots of people have problems with the mysql one.
I
> have never once had a problem with the odbc one.  The wiki even has a
small
> how to on setting it up.
>
> bkw

=P

>res_mysql.conf
>[general]
>dbhost = localhost.localdoamin/127.0.0.1

What is this? This is not a hostname. Just use "localhost" as it seems you
are wanting to connect to the local machine.

-Matthew

----- Original Message ----- 
From: "Brian West" <brian at bkw.org>
To: "'Asterisk Users Mailing List - Non-Commercial Discussion'"
<asterisk-users at lists.digium.com>
Sent: Friday, December 31, 2004 10:03 AM
Subject: RE: [Asterisk-Users] RealTime Drivers Connectivity Error


> Use res_config_odbc ... Lots of people have problems with the mysql one.
I
> have never once had a problem with the odbc one.  The wiki even has a
small
> how to on setting it up.
>
> bkw
>
> > -----Original Message-----
> > From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-
> > bounces at lists.digium.com] On Behalf Of adnan
> > Sent: Thursday, December 30, 2004 2:40 PM
> > To: asterisk-users at lists.digium.com
> > Subject: [Asterisk-Users] RealTime Drivers Connectivity Error
> >
> > Hello *'s,
> > i am using Realtime Sip drivers but its not working here is my configs:
> > extconfig.conf
> > [settings]
> > ; Realtime configuration engine
> > ;
> > ; maps a particular family of realtime
> > ; configuration to a given database driver,
> > ; database and table (or uses the name of
> > ; the family if the table is not specified
> > ;
> > sipfriends => mysql,asterisk,sip_friends
> >
> > res_mysql.conf
> > [general]
> > dbhost = localhost.localdoamin/127.0.0.1
> > dbname = asterisk
> > dbuser = asterisk
> > dbpass = 123456
> > dbport = 3306
> > dbsock = /var/lib/mysql/mysql.sock
> >
> > error detail:
> > Dec 31 01:20:49 ERROR[4298]: res_config_mysql.c:617 mysql_reconnect:
> > MySQL RealTime: Failed to connect database server asterisk on
> > localhost.localdomain/127.0.0.1. Check debug for more info.
> >   == Registered application 'UserEvent'
> >  [app_verbose.so]Segmentation fault (core dumped)
> >  i change dbhost parameter several times like(localhost,192.168.10.193
> > etc) but can't works
> > I am using latest  CVS-Head
> > kindly pointout my mistakes.
> > Thanks In Advance.
> > Adnan Ahmed.
> >
> > _______________________________________________
> > Asterisk-Users mailing list
> > Asterisk-Users at lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> > To UNSUBSCRIBE or update options visit:
> >    http://lists.digium.com/mailman/listinfo/asterisk-users
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list