[Serusers] strange problem ..... /tmp/mysql.sock and /var/lib/mysql/mysql.sock

Greger V. Teigre greger at teigre.com
Thu Jan 4 08:00:55 CET 2007

Hm. Default is /var/lib/mysql/mysql.sock, so you should go for that. 
Verify that the mysql modparam is correct in your ser.cfg.

Tako Chang wrote:
> Hi, all
> I install mysql server and SER in my FC6
> when I run SER with mysql to do authenticate
> #ser -f auth-mysql.cfg (the SER getting started example)
> it prompt me that can't connect to local MySQL server through socket 
> 'tmp/mysql.sock'
> so I modified the /etc/my.cnf' file to change socket=/tmp/mysql.sock
> but when i start SER and use serctl to add a user
> ERROR 2002 (HY000): Can't connect to local MySQL server through socke 
> 'var/lib/mysql/mysql.sock'
> was prompted
> I don't know if I could open two sock at the same time or how can I 
> let SER or serctr 
> chage the path to fit another.
> Did someone can show me some clue or solution?
> thanks!!
> ------------------------------------------------------------------------
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20070104/367491fb/attachment.htm>

More information about the sr-users mailing list