Answer the question
In order to leave comments, you need to log in
How can I connect to an asterisk via odbc to a third-party mysql?
How can I connect to an asterisk via odbc to a third-party mysql? If the local mysql connection works, but the external one does not. Thanks
Connecting /etc/odbc.ini
[asterisk]
Driver=MySQL
Description=Connector/ODBC 3.51 Driver DSN
Server=localhost
User=asterisk
Password=asterisk
Database=asterisk
Port=3306
Socket=/var/lib/mysql/mysql.sock
[secondcon]
Driver = MySQL
Description = Connector/ODBC 3.51 Driver DSN
Server = XX.XXX.XX.XX
User = ******
Password = ******
Database = mydatabase
Port = 3306
Socket = /var/ lib/mysql/mysql.sock
Name: asterisk
DSN: asterisk
Number of active connections: 1 (out of 1)
Name: secondcon
DSN: secondcon
Last fail connection attempt: 2020-04-25 15:30:27
Number of active connections: 0 (out of 1)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question