MySqlConnector
MySqlConnector copied to clipboard
MySQL Connector for .NET
Version 1.3.1, trying to execute a query like this: **";WITH cte0 as ( SELECT 1 as `xxx`) SELECT 2 as `xxx`"**, throws ``` "Query was empty" at: _System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task...
Related to https://github.com/mysql-net/MySqlConnector/issues/961. This trims the SQL (from `MySqlCommand.CommandText`) for _non-prepared_ commands before sending it to the server for execution. This matches the behaviour of `MySqlCommand.Prepare()` better, as well as...
Hi, I have a problem with connection and I did not found a solution searching in old issues. I think that is some "lost/wrong parameter" in my connection string or...
MySQLCOnnection.Open() throws a MySqlConnector.MySqlProtocolException: 'Packet received out-of-order. Expected x; got y.' after an error has occurred in a batch command. I managed to consistently reproduce the issue. My Config: .NET...
I think MySqlConnector, since it already provides load balancing feature, should also handle connection failures to the server and kick out hosts (for period of time) that are unable to...
A recent integration test suite failed with: ``` SideBySide.CancelTests.CancelBatchBeforeRead [SKIP] ! SideBySide.CancelTests.CancelBatchBeforeRead [1ms] The active test run was aborted. Reason: Test host process crashed : Unhandled exception. System.InvalidOperationException: This MySqlConnection...
Add a list of compatible servers to the documentation. See https://github.com/mysql-net/MySqlConnector/issues/900.
This is new in MySql.Data 8.0.22. See https://dev.mysql.com/doc/connector-net/en/connector-net-8-0-connection-options.html#connector-net-8-0-connection-options-classic. If `AllowLoadLocalInfile` is `true`, this option is ignored. If `AllowLoadLocalInfile` is `false` (the default), this option overrides it (to `true`) for the...
The final packet in a result set is an OK/EOF without `SERVER_MORE_RESULTS_EXISTS` flag. When this is read, MySqlConnector could know that the connection is no longer in use and call...
I'm seeing thousands of exception thrown then caught in my production application. I do intend to debug this further myself but would appreciate any insight into whether this is expected...