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

Leave a comment

Leave a Reply

Discover more from IT Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading