mysql.sock missing

6 views
Skip to first unread message

Giri

unread,
Feb 28, 2017, 4:39:02 AM2/28/17
to ASTPP
Guys,

[ERR] switch_odbc.c:368 STATE: 08S01 CODE 2002 ERROR: [unixODBC][MySQL][ODBC 5.2(w) Driver]Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)
[CRIT] switch_core_sqldb.c:508 Failure to connect to ODBC ASTPP!
2017-02-28 15:49:34.799336 [ERR] freeswitch_lua.cpp:367 Connection failed.  DBH NOT Connected.
2017-02-28 15:49:34.799336 [DEBUG] switch_cpp.cpp:1360 [ASTPP] Database connection fail...!!!
2017-02-28 15:49:34.819333 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM system WHERE group_title IN ('global','opensips','callingcard')
2017-02-28 15:49:34.819333 [ERR] freeswitch_lua.cpp:460 DBH NOT Connected.
2017-02-28 15:49:34.819333 [ERR] mod_lua.cpp:203 /usr/local/freeswitch/scripts/astpp/lib/astpp.functions.lua:32: assertion failed!
stack traceback:

I am getting the below error by actually mysql is running at /var/lib/mysql/mysql.sock. How can I change astpp configration file to modify the mysql configuraition. Which is the file and location.

Regards,
Giri
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages