Hi all, I have configured and tested the kannel for sending SMS through SMSC succesfully. But i need to configure MySQL for DLR. I have compiled kannel with the mysql option and included the following in my main configuration file to use the MySQL,
group = mysql-connection id = dlr-db host = localhost mysql-username = mydlr mysql-password = dlrpass database = gwdlr group = dlr-db id = dlr-db table = dlr field-smsc = smsc field-timestamp = ts field-destination = destination field-service = service field-url = "" field-mask = mask field-status = status While starting bearerbox by using the same conf file, i am getting the following output, [gw]# ./bearerbox -v 1 main.conf 2003-06-23 16:12:55 [0] INFO: Debug_lvl = 1, log_file = <none>, log_lvl = 0 2003-06-23 16:12:55 [0] ERROR: DLR: MySQL: can not connect to database! 2003-06-23 16:12:55 [0] ERROR: MYSQL: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) 2003-06-23 16:12:55 [0] INFO: Added logfile `/tmp/kannel.log' with level `0'. 2003-06-23 16:12:55 [0] INFO: ---------------------------------------- 2003-06-23 16:12:55 [0] INFO: Kannel bearerbox II version 1.3.1 starting 2003-06-23 16:12:55 [0] INFO: MAIN: Start-up done, entering mainloop ------------------------------------------------- By seeing this i could understand, it is searching mysql.sock in /var/lib/mysql/ . But my MySQL sock is in /tmp directory. How to solve this issue??? Please help. Thank you, Bala. __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com
