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: [EMAIL PROTECTED] [mailto:asterisk-users- > [EMAIL PROTECTED] On Behalf Of adnan > Sent: Thursday, December 30, 2004 2:40 PM > To: [email protected] > 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 > [email protected] > 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 [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
