-
Notifications
You must be signed in to change notification settings - Fork 5
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
Compatible with MySQL? #76
Comments
Astrodbkit2 at its core uses SQLAlchemy, so any database architecture supported there should work, unless there are specific extensions or alterations. |
Nice thank you ! I’ll try it out then.
Jonathan Gagné, Ph.D.
Conseiller Scientifique / Scientific Advisor
Planétarium de Montréal | Espace pour la vie
Professeur associé / Adjunct professor, Université de Montréal
4801 av. Pierre-de Coubertin, Montréal, Québec H1V 3V4
***@***.******@***.***>
From: David Rodriguez ***@***.***>
Date: Thursday, June 27, 2024 at 1:00 PM
To: astrodbtoolkit/AstrodbKit2 ***@***.***>
Cc: Jonathan Gagné ***@***.***>, Mention ***@***.***>
Subject: Re: [astrodbtoolkit/AstrodbKit2] Compatible with MySQL? (Issue #76)
Astrodbkit2 at its core uses SQLAlchemy, so any database architecture supported there should work, unless there are specific extensions or alterations.
All that should be needed is to write a connection string to your MySQL database with the appropriate driver and package installed: https://docs.sqlalchemy.org/en/20/core/engines.html#mysql
—
Reply to this email directly, view it on GitHub<#76 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ACQFUAIWT7USQ2NQPONM6KTZJRVMDAVCNFSM6AAAAABKAON2K6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJVGU3TCOJUHE>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Hey David, I just tried using the connection string I usually use in mocapy, and got an error message. I tried using mysql+pymysql, or just mysql, and both failed (see below):
It sounds like there may currently be something incompatible with MySQL in the way astrodbkit2 is set up. |
Oh nevermind, I just needed to pip install pymysql (I did not recall having done this with mocapy). |
@jgagneastro asked:
The text was updated successfully, but these errors were encountered: