SOCI - The C++ Database Access Library. This is official repository the SOCI project.
C++ CMake Ada Shell HTML C Other
Latest commit e719c44 Mar 2, 2017 @mloskot mloskot committed on GitHub Merge pull request #524 from ravselj/firebird_blob_bug
Firebird blob bug

SOCI - The C++ Database Access Library

Branches | Travis-CI | AppVeyor-CI | Coverity Scan | ----------------|--------------- |-------------|----------------|--- master | Build Status | Build status | Coverage | release/3.2 | Build Status | | |


GitHub hosts SOCI source code repository, issues tracker and wiki:

Downloads and mailing lists at


The SOCI library is distributed under the terms of the Boost Software License.



  • C++ compiler
  • Boost C++ Libraries (optional, headers and Boost.DateTime)

Backend specific client libraries for:

  • DB2
  • Firebird
  • MySQL
  • ODBC with specific database driver
  • Oracle
  • PostgreSQL
  • SQLite 3

See documentation at for details

Brief History

Originally, SOCI was developed by Maciej Sobczak at CERN as abstraction layer for Oracle, a Simple Oracle Call Interface. Later, several database backends have been developed for SOCI, thus the long name has lost its practicality. Currently, if you like, SOCI may stand for Simple Open (Database) Call Interface or something similar.

"CERN is also a user of the SOCI library, which serves as a database access layer in some of the control system components."

-- Maciej Sobczak at Inspirel