Wei Kun wrote:
Hi;
In case your * and mysql are running on the same machine, and you get error
"Failed to connect to mysql database server ..." when using Asterisk with
Mysql database, check the location of mysql.sock
not /tmp/mysql.sock, but /var/lib/mysql/mysql.sock
Regards
Kun
The location of your mysql.sock is completly configurable when you first
install mysql.
./configure --with-sock=/some/path/to/mysql.sock
If you run with the defaults, yea it won't goto /tmp/mysql.sock
Most admins don't use default.
-Matthew
_______________________________________________
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