private void CreateNewConnectionString() { MySqlConnectionStringBuilder mySqlConnectionStringBuilder = new MySqlConnectionStringBuilder { Server = _server.GetHost(), Port = _server.GetPort(), UserID = _server.GetUserName(), Password = _server.GetPassword(), Database = _server.GetDatabaseName(), MinimumPoolSize = _beginClientAmount, MaximumPoolSize = _maxPoolSize, Pooling = true, AllowZeroDateTime = true, ConvertZeroDateTime = true, DefaultCommandTimeout = 300, ConnectionTimeout = 10 }; MySqlConnectionStringBuilder mySqlConnectionStringBuilder2 = mySqlConnectionStringBuilder; SetConnectionString(mySqlConnectionStringBuilder2.ToString()); }