How to set up an Asterisk ODBC data source on Linux: Difference between revisions

From voipsupport
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
1. Install unixODBC and mysql ODBC connector
1. Install unixODBC and mysql ODBC connector


<code>Source code</code>
<code>yum install unixODBC mysql-connector-odbc</code>


2.Check that /etc/odbcinst.ini should contain something like the following for mysql
2.Check that /etc/odbcinst.ini should contain something like the following for mysql


3. Setup /etc/odbc.ini
3. Setup /etc/odbc.ini

Revision as of 19:59, 11 June 2016

These steps were tested on Centos 6.3

1. Install unixODBC and mysql ODBC connector

yum install unixODBC mysql-connector-odbc

2.Check that /etc/odbcinst.ini should contain something like the following for mysql

3. Setup /etc/odbc.ini