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

Is there a schedule to support MySQL? #95

Closed
theplacefordev opened this issue Jun 25, 2021 · 13 comments
Closed

Is there a schedule to support MySQL? #95

theplacefordev opened this issue Jun 25, 2021 · 13 comments

Comments

@theplacefordev
Copy link

Thank you for the great library! Do you consider to support MySQL? It does support locking features https://dev.mysql.com/doc/refman/5.7/en/locking-functions.html to implement distributed locking on top of it.

Thanks in advance.
Rustam

@theplacefordev
Copy link
Author

#24

@madelson
Copy link
Owner

@theplacefordev I'd be open to adding this; seems straightforward. Would you be willing to test out a prerelease package and confirm that it is functioning as expected?

@theplacefordev
Copy link
Author

@madelson yes, of course. Thanks in advance!

@madelson
Copy link
Owner

@theplacefordev as I've started working on this I noticed that there seem to be 2 popular drivers: https://www.nuget.org/packages/MySql.Data/ and https://www.nuget.org/packages/MySqlConnector/.

I'm curious which of these you have experience with and whether you think one or the other seems like a better default?

@madelson
Copy link
Owner

Actually, seems like we'll have to use MySqlConnector as the default because it has better license terms.

@theplacefordev
Copy link
Author

@madelson I use it with EF Core and Pomelo.EntityFrameworkCore.MySql provider which is using MySqlConnector, so it works for me

@madelson
Copy link
Owner

Thanks @theplacefordev ! I am close to having an alpha package out.

@madelson
Copy link
Owner

@theplacefordev I've published a release candidate version: https://www.nuget.org/packages/DistributedLock.MySql/1.0.0-rc01

Would you mind giving it a try and confirming that it works for you?

@theplacefordev
Copy link
Author

@madelson sure I will try it tomorrow. Thanks a lot!

@bgrainger
Copy link

FYI, MySqlConnector is the only MySQL ADO.NET library that supports asynchronous operations; all "Async" methods in MySql.Data operate synchronously: https://bugs.mysql.com/bug.php?id=70111.

@madelson
Copy link
Owner

madelson commented Sep 9, 2021

@theplacefordev not rush but did you get a chance to try this library?

@theplacefordev
Copy link
Author

@madelson Sorry for the delay. I've tested it on my laptop with MySql 5.7, .NET Core 3.1, EF 5, and MySqlConnector 1.3.11 - it seems to works for my test cases. Thank you!

@madelson
Copy link
Owner

Thanks! I'll get a stable version merged soon! Re-opening for now to remind me.

@madelson madelson reopened this Sep 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants