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.
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()andPingAsync(CancellationToken).Tests should verify the behavior described in bug 13658.