Documentation Home
MySQL Connector/NET Developer Guide
Related Documentation Download this Manual

MySQL Connector/NET Developer Guide  /  Connector/NET Programming  /  Connecting to MySQL Using Connector/NET

5.1 Connecting to MySQL Using Connector/NET

All interaction between a .NET application and the MySQL server is routed through a MySqlConnection object. Before your application can interact with the server, it must instantiate, configure, and open a MySqlConnection object.

Even when using the MySqlHelper class, a MySqlConnection object is created by the helper class.

This section describes how to connect to MySQL using the MySqlConnection object.