Hello,
My CW server is running on a server with 2 Network Interface Cards, and each of
the cards has a unique IP address.
Unlike the sip.conf, where I can force CW to use only one of the NICs in my
server, MySQL queries are sent from the other NIC/IP address to the database
server.
This is my mysql conf file:
# cat /etc/callweaver/res_mysql.conf
;
; Sample configuration for res_config_mysql.c
;
; The value of dbhost may be either a hostname or an IP address.
; If dbhost is commented out or the string "localhost", a connection
; to the local host is assumed and dbsock is used instead of TCP/IP
; to connect to the server.
;
[general]
dbhost = db2.mydmain.com
dbname = callweaver
dbuser = callweaver
dbpass = callweaver
dbport = 3306
dbsock = /var/run/mysqld/mysqld.sock
Can I do anything to force the queries to go from one IP?
Thanks,
David
_______________________________________________
Callweaver-users mailing list
[email protected]
http://lists.callweaver.org/mailman/listinfo/callweaver-users