[Asterisk-Users] cdr_mysql does not write to mysql db
    Matthew Boehm 
    mboehm at cytelcom.com
       
    Wed Jul 27 08:36:15 MST 2005
    
    
  
Neal Lawson wrote:
> using localhost in you mysql conf should work, make sure you linux  box 
> and the loopback interface up and has a a entry in your /etc/ hosts for 
> localhost and that your firewall (if you have one setup on  your 
> localbox) allows traffic from 172.0.0.1 to 172.0.0.1
Don't you mean 127.0.0.1 ?
Plus, in the MySQL API documentation the use of "localhost" indicates to 
the API that you want to use a socket connection.
If you don't want to use sockets (which you should on local machine), 
the you need to change to an IP to use TCP.
-Matthew
    
    
More information about the asterisk-users
mailing list