[debian-mysql] MySQL ODBC in Stretch
Bernhard Schmidt
berni at debian.org
Fri Oct 28 14:37:21 UTC 2016
On Thu, Oct 27, 2016 at 02:00:01PM +0300, Otto Kekäläinen wrote:
Hi Otto,
> Sorry, I meant ODBC (not JDBC):
> https://mariadb.com/kb/en/mariadb/about-mariadb-connector-odbc/
I tried, but I could not get it to work. It builds fine and installs a
libmaodbc.so into /usr/local/lib. I have then added a driver referencing
it into /etc/odbcinst.ini and refer to that in /etc/odbc.ini, but it
fails with
[01000][unixODBC][Driver Manager]Can't open lib 'libmaodbc.so' : file
not found
[ISQL]ERROR: Could not SQLConnect
Interestingly it does find the lib (according to strace) and using fully
qualified paths in odbcinst.ini or moving the lib around did not help
either. strace does not show any more file accesses.
In the meantime I found out that i.e. Fedora is running mysql-connector
still (although a much newer version, 5.3.4) and is carrying a patch for
mariadb
(http://pkgs.fedoraproject.org/cgit/rpms/mysql-connector-odbc.git/tree/myodbc-mariadb10.patch).
Of course that does not apply at all to 5.1.10.
I have upgraded #835166 to grave since it is just plainly broken.
Bernhard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-mysql-maint/attachments/20161028/3d770e68/attachment.sig>
More information about the pkg-mysql-maint
mailing list