-
Notifications
You must be signed in to change notification settings - Fork 337
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
MySqlBulkLoader not working with Azure Mariadb #853
Comments
I can confirm that |
The Azure Database for MariaDB server (or proxy, more likely) doesn't set the MySqlConnector/src/MySqlConnector/Protocol/Payloads/HandshakeResponse41Payload.cs Line 23 in 5652960
The solution here is probably for MySqlConnector to always set that flag all the time. |
This was a bug introduced here, where the flag became dependent on both the local connection-string setting and the server's support: a6c595a#diff-815cb1931b120a93f45b68aaec3975c0 |
Fixed in 0.69.8. Fix for 1.x is in GitHub Package Registry, 1.0.1-beta.0.11 or later: https://github.com/mysql-net/MySqlConnector/packages/39735 |
Thanks a lot for the prompt response and release. I can confirm that it's fixed in 0.69.8. 🙂 |
Fixed in 1.0.1. |
Dotnet core version: 2.1
ORM: Dapper
Azure Mariadb version: 10.2 / 10.3
OS platform: CentOS 7 / Windows 10
MySqlConnector Version: 0.64.1
I am migrating from Mysql.Data library to Mysqlconnector library. I am facing this issue only on Azure Mariadb.
I've followed this troubleshooting guide as well. I've changed code and used MysqlBulkLoader class to use local data infile. And it is working properly with mariadb 10.2 docker image and windows mariadb 10.2 as well. It is only failing on Azure Mariadb. I am not sure why maybe because they have different architecture and there is some weird issue with version as well (the MySQL client displays the version of MariaDB set in the gateway, not the actual version running on your MariaDB server instance.).
It is working with old mysql connector so I am assuming it is not related to any Mariadb server settings.
Error:
Notes:
The text was updated successfully, but these errors were encountered: