Connector/Net Installation
1824
If you have problems running the installer, you can download a zip file without an installer as
an alternative. That file is called
mysql-connector-net-version-noinstall.zip
. After
downloading the zip archive, extract the files to a location of your choice.
The file contains the following directories:
•
bin
: Connector/Net MySQL libraries for different versions of the .NET environment.
•
Docs
: Connector/Net documentation in CHM format.
•
Samples
: Sample code and applications that use the Connector/Net component.
Connector/Net 6.0.x has a different directory structure:
•
Assemblies
: A collection of DLLs that make up the connector functionality.
•
Documentation
: Connector/Net documentation in CHM format.
•
Samples
: sample code and applications that use the Connector/Net component.
Another zip file available for download contains the source code distribution. This file is named
mysql-
connector-net-version-src.zip
.
The file contains the following directories:
•
Documentation
: Source files to build the documentation into the compiled HTML (CHM) format.
•
Installer
: Source files to build the Connector/Net installer program.
•
MySql.Data
: Source files for the core data provider.
•
MySql.VisualStudio
: Source files for the Microsoft Visual Studio extensions.
•
MySql.Web
: Source files for the web providers. This includes code for the membership provider, role
provider and profile provider. These are used in ASP.NET web sites.
•
Samples
: Source files for several example applications.
•
Tests
: A spreadsheet listing test cases.
•
VisualStudio
: Resources used by the Visual Studio plugin.
Finally, ensure that
MySql.Data.dll
is accessible to your program at build time (and runtime). If
using Microsoft Visual Studio, add
MySql.Data
as a Reference to your project.
Note
If using MySQL Connector/Net 6.3.5 and above, the
MySql.Data.dll
file
provided will work with both .NET Framework 2.x and 4.x.
20.2.2.2. Installing Connector/Net on Unix with Mono
There is no installer available for installing the Connector/Net component on your Unix installation.
Before installing, ensure that you have a working Mono project installation. To test whether your
system has Mono installed, enter:
shell> mono --version
The version of the Mono JIT compiler is displayed.
To compile C# source code, make sure a Mono C# compiler is installed. Note that there are two Mono
C# compilers available,
mcs
, which accesses the 1.0-profile libraries, and
gmcs
, which accesses the
2.0-profile libraries.
Summary of Contents for 5.0
Page 1: ...MySQL 5 0 Reference Manual ...
Page 18: ...xviii ...
Page 60: ...40 ...
Page 396: ...376 ...
Page 578: ...558 ...
Page 636: ...616 ...
Page 844: ...824 ...
Page 1234: ...1214 ...
Page 1427: ...MySQL Proxy Scripting 1407 ...
Page 1734: ...1714 ...
Page 1752: ...1732 ...
Page 1783: ...Configuring Connector ODBC 1763 ...
Page 1793: ...Connector ODBC Examples 1773 ...
Page 1839: ...Connector Net Installation 1819 2 You must choose the type of installation to perform ...
Page 2850: ...2830 ...
Page 2854: ...2834 ...
Page 2928: ...2908 ...
Page 3000: ...2980 ...
Page 3122: ...3102 ...
Page 3126: ...3106 ...
Page 3174: ...3154 ...
Page 3232: ...3212 ...