You need to download the asterisk-addons to have mysql support now. It was only moved to its own project due to licensing changes with MySQL.
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Shaun Tierney > Sent: Monday, November 15, 2004 11:56 AM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: RE: [Asterisk-Users] MYSQL Dialplan Question > > Well, I looked at the makefile and I could not see any > options for SQL. So I did a grep for SQL on the distribution > files and found that in version 0.7.0 support for MySQL was > removed, so I'm guessing I'm just going to have to switch to > Postgres or something. > > Thanks for the help, > > Shaun > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of > Steven Critchfield > Sent: Monday, November 15, 2004 10:11 AM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [Asterisk-Users] MYSQL Dialplan Question > > > On Mon, 2004-11-15 at 10:04 -0600, Shaun Tierney wrote: > > I am new to Asterisk, and I am having trouble connecting to > the MySQL > > database located on the same machine as my Asterisk box. When the > dialplan > > tried to connect to MySQL database, I get the following > error message > > on > the > > Asterisk console. > > > > Nov 15 09:29:41 WARNING[111139760]: pbx.c:1279 > pbx_extension_helper: > > No application 'MYSQL' for extension (default, s, 5) > > > > Here is the corresponding line in my dialplan. > > > > exten => s,5,MYSQL(Connect connid localhost admin abc123 asteriskdb) > > > > I am able to connect to the database with the same username and > > password using the MySQL console. Am I missing something in my > > installation or configuration that would cause this? > > Yes you are missing something in your installation. From > reading the error message I can see you did not build the > mysql application. My guess would be that it is not enabled > in the makefile. Go edit it, compile, install, and try again. > -- > Steven Critchfield <[EMAIL PROTECTED]> > > _______________________________________________ > 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 > _______________________________________________ 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
