Package Details: mariadb-connector-odbc 3.1.7-1

Git Clone URL: (read-only, click to copy)
Package Base: mariadb-connector-odbc
Description: A standardized, LGPL licensed ODBC database driver for MariaDB
Upstream URL:
Licenses: LGPL
Conflicts: mariadb-connector-odbc-bin
Submitter: Erroneous
Maintainer: Erroneous
Last Packager: Erroneous
Votes: 5
Popularity: 0.000002
First Submitted: 2016-07-31 17:08
Last Updated: 2020-05-11 16:22

Latest Comments

1 2 Next › Last »

jose1711 commented on 2020-01-22 08:50

please add armv7h to arch array as it compiles fine there:


thanks! j

Erroneous commented on 2019-11-13 14:19

@fiberdistraction Thanks for the diff. 3.1.5 came out yesterday so updated to that.

fiberdistraction commented on 2019-11-08 23:45

Updated version:

diff --git a/PKGBUILD b/PKGBUILD
index e44096d..0ab82b7 100644
@@ -2,8 +2,8 @@

 pkgdesc="A standardized, LGPL licensed ODBC database driver for MariaDB"
 arch=('x86_64' 'i686')
@@ -15,8 +15,8 @@ options=('staticlibs')

-            '156aa2de91fd9607fa6c638d23888082b6dd07628652697992bba6d15045ff5d')
+            '7a1a72fee00e4c28060f96c3efbbf38aabcbbab17903e82fce85a85002565316')


Erroneous commented on 2019-01-09 15:41

@Singularity thanks for the suggestions!

I could do a split package but there is already a mariadb-connector-c out there and I'd rather not clobber it. The ODBC connector statically links with the C connector so to make the C connector shared lib would require a recompile anyway. Additionally not all AUR helpers handle split packages very well in my experience.

I'll add the socket stuff but keep the install message which tells you how to use it for any situation that doesn't let you manually specify the whole DSN. It lists the Socket line but also Server and Port commented out so that the end user could easily customize as they see fit, though having a correct default is good.

Updated to 3.0.8

Singularity commented on 2019-01-09 14:32

Hello, I had a look at your package. Because the License in LGPL, you don't have to install a license file. The so-called documentation seems to be quite useless, you could leave it out, too. Looking at the post-intall message, I wonder if it helps to compile with -DMARIADB_UNIX_ADDR=/run/mysqld/mysqld.sock

Could you change the description to fit

Theoretically one could make mariadb-connector-odbc and mariadb-connector-c one split package.

Erroneous commented on 2018-06-25 13:23

Ok, finally got the 3.0.5 working correctly. The new build process doesn't require mariadb-connector-c because it uses git to build it (and mariadb client), but they haven't tightened it down yet to only install (and several other issues) so for now I'm not using make install.

Erroneous commented on 2018-06-08 11:41

@wyrucz I had the makedepends set too conservatively. If there are any issues with later versions I'll change them to compensate but hopefully there'll be a new ODBC connector by then.

wyrucz commented on 2018-06-07 16:11

Dependency for mariadb-connector-c 3.0.3 is outdated. mariadb-connector-c 3.0.4-1 is in AUR now.

!! While searching for solutions the following errors occurred: :: Not provided: mariadb-connector-c=3.0.3 but needed by mariadb-connector-odbc-3.0.3-1

Erroneous commented on 2017-10-16 21:17

3.0.2 is out now. I had to replace a #define with the value defined on github repo for mariadb-connector-c because its commit isn't yet in a release.

Erroneous commented on 2017-08-21 16:58


3.0.1 is still in beta. When a stable release comes out I'll use that. You could make a -beta package if you'd like.

Updated to the latest stable of 2.0.15. I did ldd /usr/lib/ and it doesn't refer to anything from mariadb-connector-c so I'm keeping it in makedepends. Also I used a docker container and made sure you can build without libmariadbclient and you can. Everything looks to be statically linked.