-
Notifications
You must be signed in to change notification settings - Fork 165
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
Request: MySQL / MariaDB support #312
Comments
CAUTION: work in progress [3rd of May] |
In order to decrease time with the database I'm trying to use MySQL, I've installed the cache back ends branch via
Best guess here seems to be that despite using defaults I'm missing a module named 'acdcli.cache.sqlite' |
First, you set |
Using something like PostgreSQL instead of SQLite should be simple, as they are both pretty good at following the SQL standard(s). In fact, SQLite was written based on Postgres documentation, and it's used to make sure SQLite conforms to standards according to a talk by the creator back in 2014. Note that MySQL is pretty bad at this whole standards thing. It feels kinda dirty to just copy the SQLite backend just so the imported connector can be replaced, and replacing every mention of SQLite with Postgres. What do you think would be a sane way to do it, @yadayada? |
I suppose using the SQLAlchemy core as an SQL query builder would be more sensible than having duplicate code. |
For those still interested, please try out the pull request #436. |
In some special use case, I have have to share the same database to multiple acd_cli fuse instances. This makes
nodes.db
crash very often, and if it does, I will have to manually removenodes.db
then$ acd_cli sync
. If there is MySQL / MariaDB support, there will not be database crash problem. Thanks.The text was updated successfully, but these errors were encountered: