Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement MySqlConnection.Ping #260

Closed
bgrainger opened this issue May 12, 2017 · 1 comment
Closed

Implement MySqlConnection.Ping #260

bgrainger opened this issue May 12, 2017 · 1 comment

Comments

@bgrainger
Copy link
Member

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.

@bgrainger
Copy link
Member Author

Added in 0.35.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant