libmariadb.dll Error in Windows 10 and 11: MariaDB Connector C load errors

A database UI or internal tool fails immediately after switching to the MariaDB connector, while its database remains accessible to other clients.
What this DLL does
libmariadb is the native client component in Windows versions of MariaDB Connector/C.
Start with this check
Check the calling program’s expected connector release and architecture. Determine whether the active files belong to the app or to a standalone Connector/C installation.
Record the exact error, when it occurred, and the full module path if available. For a crash, open View reliability history from Start and look for the matching entry. The affected app, faulting module and exception code help distinguish an app problem from a system-wide one.
Do not change the database configuration just to prove a local load failure. An authentication or TLS error after the program starts should be diagnosed separately.
Choose the repair that fits
Repair the app bundle or install the exact supported MariaDB Connector/C build from MariaDB. Keep its supplied plugins with that build.
Start with Microsoft’s app repair options if only one supported application fails. If unrelated built-in Windows features also fail and you suspect system file corruption, use Microsoft’s DISM and System File Checker instructions. Use supported packages and avoid downloading individual DLL files.
Verify the repair
Open the same app and use its approved connection test. If it depends on a connector plugin, test a connection that uses that plugin.
For a related check, see odbc32.dll troubleshooting. Browse the DLL Errors & Fixes Library. Official reference: MariaDB Connector/C downloads.