MySQL++ is a C++ wrapper for MySQL’s C API. It is built around the same principles as the Standard C++ Library, to make dealing with the database as easy as dealing with STL containers. In addition, MySQL++ provides facilities that let you avoid the most repetitive sorts of SQL within your own code, providing native C++ interfaces for these common tasks.
If you have any questions about this project, do not email us about it unless the question is inherently personal. The documentation answers most questions, and the mail list archives are a treasure trove of information.
If you can’t find an answer in the documentation or the list archives, ask on the list. Everyone active in MySQL++’s development monitors that mailing list, and the library’s primary maintainer responds to almost every question posted there. By posting to the mailing list, your question and any answers are archived for future developers to find, and you reach a wider audience than is possible with personal email.
Before upgrading an existing version of MySQL++, please scan through the change log first. If you’re coming from a much older version, better read through the “Incompatible Library Changes” chapter in the user manual instead.
mysql++-3.2.3.tar.gz (416 KB, 2016.12.31) — Library source code. If you aren’t sure which file to download, download this.
mysql++-3.2.3-1.src.rpm (3.1 MB, 2016.12.31) — Source RPM, for those that need to build their own binary RPMs. To do this, run this command as root:
# rpmbuild --rebuild /wherever/it/is/mysql++-3.2.3-1.src.rpm
mysql++-manuals RPMs will be in a distribution-dependent directory, typically somewhere under
You may also want to clone our Fossil repository.
MySQL++ has been picked up by many package distros. It’s been spotted in the Debian, Fedora, FreeBSD, Gentoo, Homebrew, RHEL (EPEL), and Ubuntu package systems. Since these first-party packages are properly integrated into their host distributions, there is no point offering competing binary packages here.
If you want something different in your binary package than you get in the standard package distro for your OS, you should build it from source on the target OS, or else you are likely to have problems.
The user and reference manuals are shipped in the source code tarball above. They are also available online.
The FAQ list answers many commonly-asked questions about MySQL++.
The easiest thing to do if you want to help out with the MySQL++ development effort is to participate on the mailing list. We could use help answering questions, and it’s frequently helpful to have different voices contributing to discussions about the library’s future.
If you want to participate in the coding effort, the MySQL++ development project is hosted right here, by Fossil, a distributed version control similar to Git, but much easier to use. See the Hackers file for instructions on working with Fossil and the MySQL++ source code.
For a great source of projects to tackle, see the Wishlist file.