MySQL++ is a C++ wrapper for MySQL and MariaDB C APIs. It is built on the same principles as the Standard C++ Library to make dealing with the database as easy as dealing with
std containers. MySQL++ also 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 questions about this project and can’t find an answer in the documentation or the old mailing list archives, ask on the web forum. We also have a ticket system, but it's best to discuss such things first before filing a ticket.
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.
The MySQL++ source code is available in several forms:
Release Tarball: mysql++-3.2.5.tar.gz (4.5 MiB, 2019.07.21) — If you aren’t sure which file to download, download this.
Release SRPM: mysql++-3.2.5-1.el7.src.rpm (3.3 MiB, 2019.07.21) — For those that need to build their own binary RPMs:
$ rpmbuild --rebuild /wherever/it/is/mysql++-3.2.5-1.el7.src.rpm
mysql++-manualsRPMs should then be found in
~/rpmbuild/RPMS/x86_64if you did it on a 64-bit x86 based Linux box.
Tip-of-trunk Tarball: mysql++-trunk.tar.gz — For those who need the latest bleeding-edge version without bothering with Fossil. This is "stable" in the sense that our repository trunk almost always compiles and runs; experimental work is done on branches to avoid destabilizing trunk.
Fossil Repository: You may clone our Fossil repository to get the current work on MySQL++ with abridged history going back to the project's founding plus the wiki contents, our ticket tracker contents, forum posts, and more. The repository is well-tagged, so you can compare versions, roll back to old versions, etc. This is the best option for those who want to participate in the development of MySQL++.
GitHub Repository: This Fossil repository is mirrored hourly, here. This is intended primarily as a read-only convenience to those heavily into Git-based tooling. If you are intending to fork or patch the code, there are better alternatives than sending us a PR via that channel.
MySQL++ has been picked up by many package distros. In addition to those listed in the table at right, it's also in FreeBSD. Since these packages are properly integrated into their host distributions, we do not offer 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.
Those still needing MySQL++ 2.x might be interested in the
v2.3.2-modern branch, which makes minimal changes to version 2.3.2 — the last release in the 2.x line — to allow it to build on modern systems. Essentially, it contains build fixes analogous to those we've done in the 3.x line without backporting any actual features or behavior changes from 3.x. This branch is unlikely to ever be released, but it is intended to be "stable" at all times.
The online user and reference manuals are also included in the source code tarball above.
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 web forum. The library's primary developer does not mind at all if someone else answers a question before he can get to it. :) It’s also 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 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.
If you're looking for projects to tackle, see the Wishlist.
If you just want to keep up on the in-progress developments, see the project timeline, which is also available in RSS form for those who want MySQL++ changes to appear in their feed reader. You can also subscribe to email notifications for various events: check-ins, wiki edits, forum postings, etc.