About MariaDB Connector/ODBC
Obtaining MariaDB Connector/ODBC
The driver is available for download from https://downloads.mariadb.org/connector-odbc/
You may install both the 32-bit and 64-bit drivers. Otherwise you may get this error message: “[Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application.“
Source code
The source code is available on Launchpad: https://code.launchpad.net/mariadb-odbc-driver
Connection parameters
When configuring a DSN you can use the following keywords:
DSN: Name of the DSNDriver: The name of the MariaDB ODBC Driver. Must be always{MariaDB ODBC 1.0 Driver}Server: name or IP of the MariaDB database server. Aliases:ServernameUser: user name for database authentication. Aliases:UID,Password: password for database authentication. Aliases:PWDDatabase: default database. Aliases:DBPort: TCP/IP Port of the database serverOption: For MySQL Connector/ODBC compatibility. Aliases:Options
Example
SQLWCHAR *ConnStr= L"Driver={MariaDB ODBC 1.0 Driver};Server=localhost;UID=odbc_user;PWD=odbc_pw;DB=odbc_test;Port=3306";
Known bugs and limitations
- multiple statement execution is not fully supported
- The driver is currently available for Windows platforms only. Support for other platforms is scheduled for version 1.1
Bug reporting
In case you will find a bug, please report it via the Jira bug system for MariaDB products.
License
GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
For licensing questions, see the Licensing FAQ.