Skip to content

IsSecureConnection is not retained w/ Pooling #269

@iamcarbon

Description

@iamcarbon

When using the new mysql_clear_password functionality w/ pooling, the second request throws:

MySql.Data.MySqlClient.MySqlException : Authentication method 'mysql_clear_password' requires a secure connection.

Without digging deeper, it looks like we may be loosing the SSL mode when getting a connection back from the pool.

Everything works as expected on the first request and when pooling is explicitly disabled.

Here's the connection string:

Server=server;Port=3306;Database=database;User Id=testing;Password=""iamtoken"";SSL Mode=Required;AllowUserVariables=True

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions