MDT MySQL ODBC Deployment

Kevin Merritt 20 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.

Microsoft Deployment Toolkit
Microsoft Deployment Toolkit
A collection of Microsoft tools and documentation for automating desktop and server deployment. Previously known as Microsoft Solution Accelerator for Business Desktop Deployment (BDD).
828 questions
0 comments No comments
{count} votes

Accepted answer
  1. AllenLiu-MSFT 40,321 Reputation points Microsoft Vendor
    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