<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 10/11/19 10:12 PM, Fourhundred
Thecat wrote:<br>
</div>
<blockquote type="cite"
cite="mid:cc2fbbca-de26-e175-ee5b-c122d1d5fd00@gmx.ch">
<pre class="moz-quote-pre" wrap="">Hello,
I am trying to set up cdr logging into MariaDB through ODBC.
I have installed unixodbc unixodbc-dev and now I am struggling with
configuring /etc/odbcinst.ini
All the examples online use non-existent libraries, ie:</pre>
</blockquote>
<br>
<br>
<font face="Courier New, Courier, monospace">On my Debian Buster I
have:<br>
<br>
dpkg -l|grep odbc<br>
<br>
ii libmyodbc:amd64 5.1.10-3
amd64 the MySQL ODBC driver<br>
ii libodbc1:amd64 2.3.6-0.1
amd64 ODBC library for Unix<br>
ii odbcinst 2.3.6-0.1
amd64 Helper program for accessing odbc ini files<br>
ii odbcinst1debian2:amd64 2.3.6-0.1
amd64 Support library for accessing odbc ini files<br>
ii unixodbc 2.3.6-0.1
amd64 Basic ODBC tools<br>
ii unixodbc-dev:amd64 2.3.6-0.1
amd64 ODBC libraries for UNIX (development files)<br>
<br>
cat /etc/odbcinst.ini <br>
<br>
[PostgreSQL]<br>
Description = ODBC for PostgreSQL<br>
Driver = /usr/lib/libodbcpsql.so.1<br>
Setup = /usr/lib/libodbcpsqlS.so.1<br>
FileUsage = 1<br>
<br>
[MySQL]<br>
Description = ODBC for MySQL<br>
Driver = /usr/lib/x86_64-linux-gnu/odbc/libmyodbc.so<br>
Setup = /usr/lib/x86_64-linux-gnu/odbc/libodbcmyS.so<br>
FileUsage = 1<br>
<br>
<br>
Doug<br>
<br>
</font>
</body>
</html>