MySqlConnectionRecycle connections in pool

This is useful in load balancing scenarios when available servers change you don't want 100 constant connections in the pool pointing to only one server.

Server=myServerAddress;Database=myDataBase;Uid=myUsername;Pwd=myPassword;
ConnectionLifeTime
=300;

Specified in seconds, the amount of time after connection object creation the connection will be destroyed. Destruction will only happen when connections are returned to pool.

Connecting

This connection string (Recycle connections in pool 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.