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

Add MariaDB Support #260

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

HaSa1002
Copy link

@HaSa1002 HaSa1002 commented Apr 2, 2024

Hello :D

I needed MariaDB Support and since MySQL is available, I took the existing files and basically did a copy paste addition with a few changes to use the new adapter. I hope the test stuff works (we will see in this PR, I guess) and the connector just works. I just added the support. I can report that using a connection works. I will now get to integrate pydapper more into our project :D

Thanks for your work and I hope here's some useful stuff, too.

Oh and btw. I am hopping around languages and Python isn't exactly the language I am normally using. So please have an eagle eye when reviewing :)

EDIT: Well sometimes you do stupid stuff. In this instance we're working with async webserver and I didn't notice the mariadb was fully synchronous. I am switching to aiomysql now and will report back how it works. This branch is now a bit of a mess for the time being. So maybe if you choose to merge support for one or the other driver, we can clean this up. I hope to use aiomysql now in production.

@zschumacher
Copy link
Owner

Thanks for the PR - looks like you just need to run isort

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants