---
title: "Drivers and APIs"
description: "Connect applications to CoraDB with the official drivers for Java (JDBC), Node.js, PHP, .NET, Python and C. No native client library needed."
url: "https://www.coradb.ai/manual/api.html"
markdown_url: "https://www.coradb.ai/manual/markdown/api.md"
product: "CoraDB"
version: "1.0"
keywords: "coradb drivers, coradb jdbc, coradb node.js, coradb php, coradb ado.net, coradb python, coradb c api, cci"
---

# Drivers and APIs

Applications connect to CoraDB through the **broker** (default port **33000**), which hands each connection to a CAS process attached to the database. Every official driver speaks the broker's CAS protocol **directly**: none of them needs the CCI C library or any other native component, so they install with the usual package manager of their language and run on Windows, Linux and macOS alike.

| Language | Driver | Package | Requirements | Guide | API reference |
|---|---|---|---|---|---|
| Java | CoraDB JDBC driver | `coradb_jdbc.jar` (in `$CORADB/jdbc`) | Java 7+ | [JDBC](https://www.coradb.ai/manual/api/jdbc.html) | [JDBC](https://www.coradb.ai/manual/api/jdbc.html#api-reference) |
| JavaScript / TypeScript | node-coradb | npm `@coradb/node-coradb` | Node.js 20+ | [Node.js](https://www.coradb.ai/manual/api/node_js.html) | [Node.js API](https://www.coradb.ai/manual/api/node_js-api.html) |
| PHP | coradb-php | Composer `coradb/coradb` | PHP 8.2+, 64-bit | [PHP](https://www.coradb.ai/manual/api/php.html) | [PHP API](https://www.coradb.ai/manual/api/php-api.html) |
| C# / .NET | CoraDB.Data (ADO.NET) | `CoraDB.Data` assembly / NuGet package | .NET 8 | [ADO.NET](https://www.coradb.ai/manual/api/adodotnet.html) | [ADO.NET API](https://www.coradb.ai/manual/api/adodotnet-api.html) |
| Python | pycoradb (DB-API 2.0) | `pycoradb` | Python 3.10+ | [Python](https://www.coradb.ai/manual/api/python.html) | [Python API](https://www.coradb.ai/manual/api/python-api.html) |
| C / C++ | CCI (C Client Interface) | `libcascci` (in `$CORADB/lib`) | — | [CCI guide](https://www.coradb.ai/manual/api/cci.html) | [CCI API](https://www.coradb.ai/manual/api/cciapi.html) |

All drivers support the whole SQL language of CoraDB, including [graph queries with SELECT … MATCH](https://www.coradb.ai/manual/graph/match.html): a graph query is sent and read like any other `SELECT`.

## Common connection settings

| Setting | Default | Notes |
|---|---|---|
| Host | `localhost` | Most drivers also accept a list of brokers (alternative hosts), tried in order when a broker cannot be reached, optionally load-balanced. |
| Port | `33000` | The broker port (`BROKER_PORT` in `coradb_broker.conf`). |
| Database | — | For example `e-commerce`, or another [demo database](https://www.coradb.ai/manual/demo-databases.html). |
| User | `public` or `dba`, depending on the driver | See [Users & privileges](https://www.coradb.ai/manual/sql/authorization.html). |
| Password | Empty | |
| TLS | off | Needs a broker with `SSL=ON`; not available in the Node.js driver. Certificates are not verified by default, because brokers usually use self-signed ones. |

## Migrating from the CUBRID drivers

The previous drivers (PHP and PDO extensions, Python, Perl, Ruby, ODBC, OLE DB and the old ADO.NET provider) were wrappers around the CCI C library. They are replaced by the drivers above:

- **PHP:** the `coradb_*` functions of coradb-php mirror the old `cubrid_*` extension functions; rename `cubrid_` to `coradb_` and `CUBRID_` to `CORADB_`. The PDO driver is not continued; use the coradb-php `Connection` API.
- **Python:** pycoradb is a port of pycubrid with the same DB-API 2.0 interface.
- **ADO.NET:** CoraDB.Data keeps the classes of the CUBRID ADO.NET provider, renamed `CoraDB*`, in 100% managed code.
- **Node.js:** node-coradb replaces node-cubrid; see the [migration notes](https://www.coradb.ai/manual/api/node_js.html#migrating-from-node-cubrid).
- **Perl, Ruby, ODBC and OLE DB** are no longer supported.
