You install Connector/Net through a Windows Installer
.msi) installation package, which can
install Connector/Net on supported Windows operating systems.
The MSI package is a file named
version indicates the
Using the central MySQL Installer is recommended, instead of the standalone package that is documented in this section. The MySQL Installer is available for download at MySQL Installer.
To install Connector/Net:
Double-click the MSI installer file, and click Next to start the installation.
You must choose the type of installation to perform.
For most situations, the Typical installation is suitable. Click the Typical button and proceed to Step 5. A Complete installation installs all the available files. To conduct a Complete installation, click the Complete button and proceed to step 5. To customize your installation, including choosing the components to install and some installation options, click the Custom button and proceed to Step 3.
The Connector/Net installer will register the connector within the Global Assembly Cache (GAC) - this will make the Connector/Net component available to all applications, not just those where you explicitly reference the Connector/Net component. The installer will also create the necessary links in the Start menu to the documentation and release notes.
If you have chosen a custom installation, you can select the individual components to install, including the core interface component, supporting documentation (a CHM file) samples and examples, and the source code. Select the items, and their installation level, and then click Next to continue the installation.
You will be given a final opportunity to confirm the installation. Click Install to copy and install the files onto your machine.
Once the installation has been completed, click Finish to exit the installer.
Unless you choose otherwise, Connector/Net is installed in
C:\Program Files (x86)\MySQL\MySQL Connector Net
X.X.X is replaced with the version of
Connector/Net you are installing. New installations do not
overwrite existing versions of Connector/Net.
Depending on your installation type, the installed components will include some or all of the following components:
Assemblies: Connector/Net MySQL libraries
for different versions of the .NET environment.
documentation in CHM format.
Samples: Sample code and applications
that use the Connector/Net component.
You may also use the
/q command-line option with the
msiexec tool to install the Connector/Net
package automatically (using the default options) with no
notification to the user. Using this method the user cannot
select options. Additionally, no prompts, messages or dialog
boxes will be displayed.
msiexec /package connector-net.msi /quiet
To provide a progress bar to the user during automatic
installation, use the