You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.
Would it be possible to also add mysql support ?
I have SBFspot running with mysql instead of SQLite
I just came across this project and it looks great but it doesn't support the mysql engine :(
Or is there another way to achieve this ?
The text was updated successfully, but these errors were encountered:
sure it's possible! You'll have to change util/database.py, change the database connector and translate the queries from sqlite to mysql. I'm not sure if the database structure is the same for mysql, but it shouldn't be such a big deal.
Nevertheless I'm currently thinking about to replace the SBFspot database and import the CSVs directly via Telegraf into InfluxDB and display the graphs via Grafana. So maybe this is also a good way for you to go.
I just did some hacking in the database.py and got it working using mysql (based on nfsprodriver-dev branch).
I just need to see how I can pass the connection details to database.py
Once I figured that out I can post a patch/pull request if you want.
I've just created pull request #5.
I suppose you'll want to adapt the code still a bit to support both sqlite and mysql instead of just one or the other
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Would it be possible to also add mysql support ?
I have SBFspot running with mysql instead of SQLite
I just came across this project and it looks great but it doesn't support the mysql engine :(
Or is there another way to achieve this ?
The text was updated successfully, but these errors were encountered: