MySQL Connector/ODBC Developer Guide

4.1.2 Installing the Windows Connector/ODBC Debug Packages

The associated Debug files are bundled in its own Zip file, including two lib/ directories:

Note

The separate debug Zip file was added in v8.0.31.

Add Debug Functionality to Regular Build

Download the debug zip and copy its lib/ contents to your driver installation directory; this adds the PDB files generated in the RelWithDebInfo build.

Note

Regular builds are built with RelWithDebInfo so not all debugging information is available. For example, some variables might be optimized out.

Replace Regular Build with Debug Build

Manually copy Debug/lib/ files from the Zip package into the driver installation directory to replace the DLL and PDB files inside. No new driver registration is required.

Install an Independent Debug Build

This requires copying the plugin/ directory and dependency libraries (lib*.dll) from the regular driver build, and optionally copying additional authentication plugins (fido2.dll, libsasl.dll, and saslSCRAM.dll) depending on the plugins you use.

Register with the myodbc-installer command line tool from the regular driver bin/ sub-directory.