opendbx
« Back to VersTracker
Description:
Lightweight but extensible database access library in C
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Databases
Tags: database c-library sql abstraction mysql postgresql
Install: brew install opendbx
About:
OpenDBX is a lightweight C library that provides an abstract, unified API for accessing various database management systems. It allows developers to write database-agnostic application code by handling the specific nuances of different backends like MySQL, PostgreSQL, and SQLite. Its main value proposition is simplifying database interactions and enhancing portability without sacrificing performance.
Key Features:
  • Unified API for multiple database backends
  • Small and lightweight core library
  • Supports backends for MySQL, PostgreSQL, SQLite, and more
  • Simple and clean C interface
Use Cases:
  • Developing C applications that need to support multiple database systems
  • Creating lightweight database-driven tools or services
  • Migrating legacy applications to use modern databases with minimal code changes
Alternatives:
  • libdbi – Similar in goal, but OpenDBX is often considered more lightweight and focused on a simpler C API.
  • ODBC – A more comprehensive but complex standard; OpenDBX offers a simpler, native C library approach.
Version History
Detected Version Rev Change Commit