MySQL Forums
Forum List  »  Connector/ODBC

SelfBuild MysqlODBC Get Error 126
Posted by: Lin Zida
Date: March 31, 2020 03:44AM

I built an ODBC8.0.14 on Windows with

cmake -G "Visual Studio 14 2015 Win64" -DMYSQLCLIENT_STATIC_LINKING:BOOL=TRUE \
DMYSQLCLIENT_LIB_NAME=client_lib_name_with_extension

and get the install.bat and uninstall.bat.

The package works for my win10 pc. But when I moved it to windows server 2012, and tried the test button in ODBCManager, I got error 126: cannot find C:\Program Files\MySQL_Connector_ODBC\lib\myodbc8w.dll, which is definitely in the directory.

What might be wrong?

Options: ReplyQuote


Subject
Written By
Posted
SelfBuild MysqlODBC Get Error 126
March 31, 2020 03:44AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.