MDT MySQL ODBC Deployment

Kevin Merritt 40 Reputation points
2023-06-18T08:12:48.37+00:00

I have a bit of software that needs ODBC pre-deployed. But I am having a nightmare trying to get it to deploy, I either get 1605 or nothing. Has anyone managed to get this to deploy? I have tried:

msiexec /i /a mysql-connector-odbc-8.0.26-win32.msi /qn IACCEPTMSODBCSQLLICENSETERMS=YES ALLUSERS=1

msiexec /i mysql-connector-odbc-8.0.26-win32.msi /qn IACCEPTMSODBCSQLLICENSETERMS=YES ALLUSERS=1

msiexec /i mysql-connector-odbc-8.0.26-win32.msi /qn IACCEPTMSODBCSQLLICENSETERMS=YES

msiexec /i mysql-connector-odbc-8.0.26-win32.msi /qn

powershell.exe mysql_8.0.33-win32.msi /qn

All going to \DFSShare\Software\MySQL as working directory

Any help would be great.

Windows for business | Windows Client for IT Pros | Devices and deployment | Set up, install, or upgrade
0 comments No comments
{count} votes

Accepted answer
  1. AllenLiu-MSFT 49,316 Reputation points Microsoft External Staff
    2023-06-19T08:35:42.0166667+00:00

    Hi, @kevin merritt

    Thank you for posting in Microsoft Q&A forum.

    It seems you are missing the path to the MSI file, so try this command to install the driver:

    msiexec /i "C:\path\to\mysql-connector-odbc-8.0.26-win32.msi" /qn IACCEPTMSODBCSQLLICENSETERMS=YES

    Make sure to replace "C:\path\to" with the actual path to the MSI file. Also, make sure that the command prompt is running with administrative privileges.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Add comment".


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.