MySQL 8.4 C API Developer Guide
The following sections provide information on building client applications that use the C API. Topics include compiling and linking clients, writing threaded clients, and troubleshooting runtime problems.