[asterisk-users] mysql error (err 2002)

harry R rhm.noa101 at gmail.com
Thu Aug 20 03:33:20 CDT 2009


Hi

I just solve my problem.
It seems just because Astérisk didn't find (or maybe it's mysql fault)
socket file path.
so I just look in my my.cnf and copy socket file path in res_mysql.conf like
this
dbsock = <socket file path>

Hope it will be helpfull if someone else (will) have this problem.

regards.

Harry.

2009/8/19 Steve Howes <steve at geekinter.net>

>
> On 19 Aug 2009, at 16:37, harry R wrote:
>
> > >mysql -uasterisk -pasterisk asteriskdb
> >
> > When I do that in a linux terminal it works.
> > But I always have this err 2002.
>
> I'd try and tcpdump it if you can find a way. Might be something odd
> happening.
>
> S
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> AstriCon 2009 - October 13 - 15 Phoenix, Arizona
> Register Now: http://www.astricon.net
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090820/7a9fcc21/attachment.htm 


More information about the asterisk-users mailing list