{"id":20077203,"url":"https://github.com/boostorg/mysql","last_synced_at":"2025-10-09T04:04:17.747Z","repository":{"id":38398435,"uuid":"193753210","full_name":"boostorg/mysql","owner":"boostorg","description":"MySQL C++ client based on Boost.Asio","archived":false,"fork":false,"pushed_at":"2025-10-07T14:56:19.000Z","size":6622,"stargazers_count":285,"open_issues_count":77,"forks_count":37,"subscribers_count":12,"default_branch":"develop","last_synced_at":"2025-10-09T04:03:38.020Z","etag":null,"topics":["asio","async","cpp","cpp11","mysql","ssl"],"latest_commit_sha":null,"homepage":"https://www.boost.org/doc/libs/latest/libs/mysql/doc/html/index.html","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/boostorg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE_1_0.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-06-25T17:26:00.000Z","updated_at":"2025-10-07T14:56:21.000Z","dependencies_parsed_at":"2024-02-15T12:31:27.023Z","dependency_job_id":"f9c27d61-db15-4846-887c-ab10239e9391","html_url":"https://github.com/boostorg/mysql","commit_stats":{"total_commits":904,"total_committers":5,"mean_commits":180.8,"dds":0.07632743362831862,"last_synced_commit":"f6c119210db1c7e92566fa9d16591840ace0b186"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/boostorg/mysql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boostorg%2Fmysql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boostorg%2Fmysql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boostorg%2Fmysql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boostorg%2Fmysql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boostorg","download_url":"https://codeload.github.com/boostorg/mysql/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boostorg%2Fmysql/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000755,"owners_count":26082921,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["asio","async","cpp","cpp11","mysql","ssl"],"created_at":"2024-11-13T15:06:34.120Z","updated_at":"2025-10-09T04:04:17.735Z","avatar_url":"https://github.com/boostorg.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Boost.MySQL\n\nBranch | Windows/Linux Build | OSX build | Coverage | Documentation\n-------|---------------------|-----------|--------- | -------------\n[`master`](https://github.com/boostorg/mysql/tree/master)   | [![Build Status](https://drone.cpp.al/api/badges/boostorg/mysql/status.svg)](https://drone.cpp.al/boostorg/mysql)                        | [![Build Status](https://github.com/boostorg/mysql/actions/workflows/build-code.yml/badge.svg)](https://github.com/boostorg/mysql)                | [![codecov](https://codecov.io/gh/boostorg/mysql/branch/master/graph/badge.svg)](https://codecov.io/gh/boostorg/mysql/branch/master)   | [Docs for master](https://www.boost.org/doc/libs/master/libs/mysql/doc/html/index.html)\n[`develop`](https://github.com/boostorg/mysql/tree/develop) | [![Build Status](https://drone.cpp.al/api/badges/boostorg/mysql/status.svg?ref=refs/heads/develop)](https://drone.cpp.al/boostorg/mysql) | [![Build Status](https://github.com/boostorg/mysql/actions/workflows/build-code.yml/badge.svg?branch=develop)](https://github.com/boostorg/mysql) | [![codecov](https://codecov.io/gh/boostorg/mysql/branch/develop/graph/badge.svg)](https://codecov.io/gh/boostorg/mysql/branch/develop) | [Docs for develop](https://www.boost.org/doc/libs/develop/libs/mysql/doc/html/index.html)\n\nBoost.MySQL is a C++11 client for MySQL and MariaDB database servers, based on Boost.Asio.\nBoost.MySQL is part of Boost.\n\n## Breaking changes in Boost 1.85\n\nBoost.MySQL now requires linking with Boost.Charconv, which is a compiled library.\nIf you're getting link errors, link your executable to the `Boost::charconv` CMake target.\nNo C++ code changes are required.\n\n## Feedback\n\nDo you have any suggestion? Would you like to share a bad or good experience while using the library?\nPlease comment [on this issue](https://github.com/boostorg/mysql/issues/140).\n\n## Why another MySQL C++ client?\n\n- It is fully compatible with Boost.Asio and integrates well with any other\n  library in the Boost.Asio ecosystem (like Boost.Beast).\n- It supports Boost.Asio's universal asynchronous model, which means you can\n  go asynchronous using callbacks, futures or coroutines (including C++20 coroutines).\n- It is written in C++11 and takes advantage of it.\n- It is header only.\n\n## Using the library\n\nTo use this library, you need:\n\n- Boost 1.82 or higher (Boost.MySQL doesn't work with standalone Asio).\n- A C++11 capable compiler.\n- OpenSSL.\n\nThe library is header-only, but it depends on other Boost header-only libraries and on OpenSSL.\nTo use the library, install Boost the way you would normally do (e.g. via `b2 install`), and create\na `CMakeLists.txt` like this (replace `main` by your executable name and `main.cpp` by your list of source files):\n\n```cmake\nproject(boost_mysql_example LANGUAGES CXX)\n\nfind_package(Boost REQUIRED COMPONENTS charconv)\nfind_package(Threads REQUIRED)\nfind_package(OpenSSL REQUIRED)\n\nadd_executable(main main.cpp)\ntarget_link_libraries(main PRIVATE Boost::charconv Threads::Threads OpenSSL::Crypto OpenSSL::SSL)\n```\n\n## Tested with\n\nBoost.MySQL has been tested with the following compilers:\n\n- gcc 5 to 15.\n- clang 4 to 20.\n- msvc 14.1, 14.2 and 14.3.\n\nAnd with the following databases:\n\n- MySQL v5.7.41.\n- MySQL v8.4.1.\n- MariaDB v11.4.2.\n\n## Features\n\n- Text queries (execution of text SQL queries and data retrieval).\n  MySQL refers to this as the \"text protocol\", as all information is passed using text\n  (as opposed to prepared statements, see below).\n- Prepared statements. MySQL refers to this as the \"binary protocol\", as the result\n  of executing a prepared statement is sent in binary format rather than in text.\n- Stored procedures.\n- Authentication methods (authentication plugins): mysql_native_password and\n  caching_sha2_password. These are the default methods in MySQL 5/MariaDB and MySQL 8,\n  respectively.\n- Encrypted connections (TLS).\n- TCP and UNIX socket transports.\n- Connection pools.\n- Friendly client-side generated SQL.\n- (Experimental) pipelines.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboostorg%2Fmysql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboostorg%2Fmysql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboostorg%2Fmysql/lists"}