Package Details: mariadb-connector-odbc 3.0.8-1

Git Clone URL: (read-only)
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.162652
First Submitted: 2016-07-31 17:08
Last Updated: 2019-01-09 15:41

Latest Comments

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.

artemklevtsov commented on 2017-08-18 13:09


# Maintainer: Aaron Bishop < erroneous at gmail >

pkgdesc="MariaDB Connector/ODBC is a standardized, LGPL licensed database driver using the industry standard ODBC API"
arch=('x86_64' 'i686')
depends=('unixodbc>=2.3' 'openssl' 'mariadb-connector-c>=3.0')


prepare() {
cd "${srcdir}/${pkgname}-${pkgver}-beta-src"
rm -rf build
mkdir build
cd build
cmake .. \
-G"Unix Makefiles" \
-DMARIADB_INCLUDE_DIR=/usr/include/mariadb \

build() {
cd "${srcdir}/${pkgname}-${pkgver}-beta-src/build"

package() {
cd "${srcdir}/${pkgname}-${pkgver}-beta-src/build"
make DESTDIR="${pkgdir}" install
mv "${pkgdir}/usr/lib64" "${pkgdir}/usr/lib"