[unixODBC][Driver Manager]Can't open lib '/usr/lib64/libmyodbc5.so' : file not found

[unixODBC][Driver Manager]Can’t open lib ‘/usr/lib64/libmyodbc5.so’ : file not found

2019-01-04 15:21:03.377362 [CRIT] switch_core_sqldb.c:508 Failure to connect to ODBC CTIDB_MYSQL_CONF!
2019-01-04 15:21:03.377362 [ERR] freeswitch_lua.cpp:362 Connection failed. DBH NOT Connected.

相同问题,必定解决,不同请勿尝试,前提是需要已经安装了unixODBC
将:/etc/odbcinst.ini
将原有的libmyodbc5.so,改为libmyodbc8a.so

[MySQL]
Description = ODBC for MySQL
Driver = /usr/lib64/libmyodbc8a.so
Setup = /usr/lib64/libodbcmyS.so
Driver64 = /usr/lib64/libmyodbc8a.so
Setup64 = /usr/lib64/libodbcmyS.so
FileUsage = 1

你可能感兴趣的:(随手笔记)