This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-16. For the latest, interactive version please visit https://mariadb.com/kb/.

Installation of mariadb-connector-odbc-1.0.6-win32.msi

Hi,

I am trying to install mariadb-connector-ODBC-1.0.6-win32.msi on a Terminal server but it keeps failing.

After running the msi with logging I can see the below entries in the log:

MSI (s) (C8:D0) [19:29:42:932]: Generating random cookie.

MSI (s) (C8:D0) [19:29:42:932]: Created Custom Action Server with PID 146744 (0x23D38).

MSI (s) (C8:64) [19:29:42:963]: Running as a service.

MSI (s) (C8:64) [19:29:42:979]: Custom Action Server rejected - Wrong Context

MSI (s) (C8:D0) [19:29:42:979]: CA Server Process has terminated.

MSI (s) (C8:FC) [19:29:42:979]: Failed to get IMsiCustomAction*

Action ended 19:29:42: InstallFinalize. Return value 3.

MSI (s) (C8:FC) [19:29:42:979]: User policy value 'DisableRollback' is 0

MSI (s) (C8:FC) [19:29:42:979]: Machine policy value 'DisableRollback' is 0

MSI (s) (C8:FC) [19:29:42:979]: Executing op:

Header(Signature=1397708873,Version=405,Timestamp=1244437430,LangId=1033,Platform=0,ScriptType=2,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=3)

MSI (s) (C8:FC) [19:29:42:979]: Executing op: DialogInfo(Type=0,Argument=1033)

MSI (s) (C8:FC) [19:29:42:979]: Executing op: DialogInfo(Type=1,Argument=MariaDB ODBC Driver)

MSI (s) (C8:FC) [19:29:42:979]: Executing op: RollbackInfo(,RollbackAction=Rollback,RollbackDescription=Rolling back action:,RollbackTemplate=[1],CleanupAction=RollbackCleanup,CleanupDescription=Removing backup files,CleanupTemplate=File: [1])

Could you please help? I appreciate that you may suggest to install the mariadb-connector-ODBC-2.0.13-win32.msi instead but unfortunately, when i try to use the ODBC 2.0.13 on an excel file that needs to read form mariadb I get the error of "Lost connection to MySQL server during query". I have successfully installed v1.0.6 on Windows 7 and it works fine with our mariadb.

The Terminal Server runs on Windows Server 2008 SP2 x64

I am happy to provide the full log of the failed installation if need be.

Thanks

Answer Answered by Stavros Natsios in this comment.

Hi,

I have managed to resolve the issue by using psexec

Thanks

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.