https://github.com/covscript/covscript-database
Open Database Connectivity for Covariant Script
https://github.com/covscript/covscript-database
database mysql
Last synced: about 2 months ago
JSON representation
Open Database Connectivity for Covariant Script
- Host: GitHub
- URL: https://github.com/covscript/covscript-database
- Owner: covscript
- License: apache-2.0
- Created: 2021-03-11T08:52:54.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-11-24T08:16:12.000Z (7 months ago)
- Last Synced: 2026-05-02T11:38:39.502Z (about 2 months ago)
- Topics: database, mysql
- Language: C++
- Size: 74.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Open Database Connectivity for Covariant Script
**Special Notice: It's not recommended to use SQLite3 via ODBC Driver while Covariant Script have native SQLite3 support.**
## Official Build & Tested Platform
|Platform|Data Source Administrator|ODBC Driver|
|----|----|----|
|Microsoft Windows|ODBC Data Sources|MariaDB ODBC Driver|
|Microsoft Windows|ODBC Data Sources|MySQL ODBC Driver|
|Apple macOS|iODBC|MariaDB ODBC Driver|
|Ubuntu 20.04|unixODBC|MariaDB ODBC Driver|
## Preparation
### Windows
Download and install [MariaDB ODBC Driver](https://mariadb.com/downloads/)
### macOS
1. Download [iODBC](http://www.iodbc.org/dataspace/doc/iodbc/wiki/iodbcWiki/Downloads)
2. Download [MariaDB ODBC Driver](https://mariadb.com/downloads/)
### Linux
1. Install unixODBC: `sudo apt install unixodbc`
2. Install MariaDB ODBC Driver: `sudo apt install odbc-mariadb`
## Configuration
1. [MariaDB](https://mariadb.com/kb/en/creating-a-data-source-with-mariadb-connectorodbc/)
+ If it doesn't work properly on Ubuntu after following the official documentation, try modifying the configuration file: `Driver=/usr/lib/x86_64-linux-gnu/odbc/libmaodbc.so`
2. [MySQL](https://dev.mysql.com/doc/connector-odbc/en/connector-odbc-configuration.html)