Solution of error 1918 when installing MySQL ODBC Driver

I once found the following error when installing MySQL ODBC Driver 5.3.7:

Error 1918. Error installing ODBC driver MySQL ODBC 5.3 ANSI Driver, ODBC error 13: The setup routines for the MySQL ODBC 5.3 ANSI Driver ODBC driver could not be loaded due to system error code 126: The specified module could not be found. …

The cause of the error is not installed Microsoft Visual C++ 2013 Redistributable Package. You can download it here:
https://support.microsoft.com/en-us/help/3179560/update-for-visual-c-2013-and-visual-c-redistributable-package

Depending on the version of MySQL ODBC Driver installed, x86 or x64, you need to download and install the Microsoft Visual C ++ 2013 Redistributable Package.

After this, the error should not be.

I note that for older versions of MySQL ODBC Driver 5.1, Microsoft Visual C ++ 2010 Redistributable Package was needed, and in new versions it will probably be required newer.
The current installation instructions for Connector/ODBC can be found at the link on the download page or here:
https://dev.mysql.com/doc/connector-odbc/en/connector-odbc-installation-binary-windows.html

Did my article help you? How about buying me a cup of coffee as an encouragement? Buy me a coffe.

Leave a comment

Leave a Reply