MySqlConnectionUsing encryption (old)

This one activates SSL encryption for all data sent between the client and server. The server must have a certificate installed.

Server=myServerAddress;Database=myDataBase;Uid=myUsername;Pwd=myPassword;
Encrypt
=true;

This option is available for Connector/NET version 5.0.3 through 6.2.1. From 6.2.1 use the SslMode option instead.

Connecting

This connection string (Using encryption (old) using MySqlConnection) can be used for connections to MySQL.

Articlesread all »

Not the right connection string for you?

Start over in the connection string reference index.

You can also get help in the Q&A forums where you can ask your own question.

The kb articles contains how-tos and instructions and you can search for anything if you're not sure were to look.