MySQL]
Description=ODBC for MySQL
Driver64=/usr/lib64/libmyodbc5a.so
Setup64=/usr/lib64/libodbcmyS.so
FileUsage=1
I have the following library two libraries in my /lib64 directory since I couldnt find any matching one in my /lib directory so I used the /lib64 for driver and setup values
/etc/odbc.ini
[asterisk-connector]
Description= MySQL connection to ‘root’ database
Driver= MySQL
Database=fastproducts
Server= serveraddress
Port=3306
Socket= /var/lib/mysql/mysql.sock
I am using Asterisk 13.10.0 when I run the odbc show in the CLI
Shouldnt I see the “connected : yes” parameter
And also when I run module show like odbc
Only 1 module is loaded which is res_odbc.so, no func_odbc.so and other related odbc modules.
Also when I run isql -vvv asterisk-connector, it gives a connection error saying access is denied until I run the command with the username and password of the database like this
isql -vvv asterisk-connector fastproducts XGYUpOING then it connect
Also when I checked for the absent odbc modules on /usr/lib/asterisk/modules, I CAN SEE THE MODULES THERE BUT I DO NOT KNOW WHY THEY ARE NOT LOADED
Even if I try module load func_odbc.so, it says no module named func_odbc.so but I can see it in the modules direectory
PLEASE HELP OUT, I DO NOT KNOW WHAT ELSE I AM DOING WRONG!!!
Those are not from res_odbc. That is from the astdb, which is a local sqlite database. Were there any errors at startup about the database? Permissions maybe?
The errors you pasted are for the local AstDB which is a sqlite database like I mentioned. It is created on startup by Asterisk if it does not exist already, unless permissions do not allow it to be created.
Okay, since I am not using the local database, do you think it will affect the application from running well, or do I have to create it for the application to run well