MySqlConnector
MySqlConnector copied to clipboard
MySQL Connector for .NET
Starting in 8.0.10, Connector/NET allows `AllowPublicKeyRetrieval` to be set in the connection string: https://dev.mysql.com/doc/connector-net/en/connector-net-8-0-connection-options.html Need to update https://github.com/mysql-net/MySqlConnector/blob/e5cc8114730eaaa2c45921db688da3e17152c8ae/docs/content/tutorials/migrating-from-connector-net.md?plain=1#L51
This could be a very simple shim that adds a `public static TracerProviderBuilder AddMySqlConnector(this TracerProviderBuilder builder)` API. See Npgsql implementation https://github.com/npgsql/npgsql/tree/main/src/Npgsql.OpenTelemetry and documentation https://www.npgsql.org/doc/diagnostics.html#tracing-with-opentelemetry-experimental for an example.
I currently have a use case were I get far better performance setting `ConnectionReset` to `false` but I still want the connection reset for safety purposes. I was thinking that...
**Software versions** MySqlConnector version: 2.1.6 (tested with multiple versions 1.3.13 - 2.1.2 - 2.1.6) Server type (MySQL, MariaDB, Aurora, etc.) and version: MySQL 5.7.36 .NET version: Net Framework 4.7.2 /...
**Software versions** MySqlConnector version: 2.0.0 Server type (MySQL) and version: 5.7.32 .NET version: 5.0 **Describe the bug** Exception in MySqlCommand.Prepare() **Exception** ``` MySqlConnector.MySqlException (0x80004005): You have an error in your...
Stored procedures that should have returned `-1` now return `0` in MySqlConnector `2.1.6`. Version `2.1.2` is the last version that still has the expected behavior. This issue is failing 6...
The API for `MySqlBulkCopy` was patterned on `SqlBulkCopy`, which has no return value from its `WriteToServer` method. https://github.com/mysql-net/MySqlConnector/issues/1005 points out that warnings are not surfaced to the user. `MySqlBulkCopy.WriteToServer` will...
System.Threading.Tasks.Extensions 4.5.4 has been available for two years now, and still supports .NET 4.5; update to it (probably in a v2.2.0 release).
**Software versions** MySqlConnector version: 2.1.0+ **Describe the bug** I'm working on `MySqlDecimal` support in `linq2db` and found that it's constructor is marked internal, so it is not possible to create...
MySqlConnector currently implements logging via a custom interface: https://github.com/mysql-net/MySqlConnector/issues/390 Npgsql is planning to replace their custom logging interface with Microsoft.Extensions.Logging (https://github.com/npgsql/npgsql/issues/2103#issuecomment-997813520): > Looking at this again, we should really consider...