If you write C applications that need to connect to MySQL, you
can use the MySQL C API aka libmysqlclient.
The MySQL C API replaces the outdated MySQL-Connector-C.
If you want to use MySQL 8.0 as a Document Store with the X Protocol, you need then to use MySQL Connector/C++ 8.0.
Some have asked how to compile only the MySQL C API.
Compiling only libmysqlclient
As the FAQ stipulates it, it’s not possible to only build the library. However, as mentioned in the documentation, it’s possible to reduce the amount of compiled products with some …
[Read more]