If you are installing MySQL ODBC Driver and encounter the following error:
Error 1918. Error installing ODBC driver MySQL ODBC 5.1 Driver,
ODBC error 13: The setup routines for the MySQL ODBC 5.1 Driver
could not be loaded due to system error code 126:
The specified module could not be found.
...\myodbc5S.dll).. Verify...
Then you will need to install the Microsoft Visual C++ 2010 Redistributable Package (select the appropriate one for your OS architecture below):
64-bit version:
http://www.microsoft.com/en-us/download/confirmation.aspx?id=14632
32-bit version:
http://www.microsoft.com/en-gb/download/details.aspx?id=5555
After installing that, then re-attempt installing the MySQL ODBC connector, and things should work smoothly.
Hope this helps.
文章出处 : http://www.chriscalender.com/resolving-error-1918-system-error-code-126-when-installing-mysql-odbc-driver/