Skip to content

Implement MySqlConnection.Ping #260

@bgrainger

Description

@bgrainger

Connector/NET exposes a public bool MySqlConnection.Ping() method, which returns whether the server could be pinged. There appears to be moderate usage of this method on GitHub.

We could add this, as well as expose PingAsync() and PingAsync(CancellationToken).

Tests should verify the behavior described in bug 13658.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions