mirror of
https://github.com/acme-dns/acme-dns.git
synced 2026-04-27 04:45:48 +03:00
[GH-ISSUE #202] Support MySQL #93
Labels
No labels
Documentation
Documentation
bug
enhancement
feature request
feature request
help wanted
pull-request
question
security
security
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/acme-dns#93
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Daniel15 on GitHub (Jan 6, 2020).
Original GitHub issue: https://github.com/acme-dns/acme-dns/issues/202
It would be nice to have MySQL support in addition to PostgreSQL and SQLite.
@webprofusion-chrisc commented on GitHub (Jan 6, 2020):
While we're at it, MongoDB would be useful to (although perhaps more abstraction is required?), Or indeed other more key value store type things. I'm not sure what the most lightweight option would be that would still be robust.
@ah-quant commented on GitHub (Mar 13, 2020):
I may be an outlier here - sorry for hijacking the issue - but I'd prefer to have no database dependencies whatsoever. I vastly prefer a slim
go.sumand a smaller, self-contained binary with fewer features to this kitchen-sink approach.An alternative may be to support a local api and plugins - either REST or with plugins communicating over stdout / stdin like protobuf code generators. The plugins could live in a contrib folder with their own mod files there. Everything will be visible in the database, security surface of the core application stays small, main negative is a negligible overhead for local communication.
@webprofusion-chrisc commented on GitHub (Mar 14, 2020):
Well, while we're at it, how about the just file system as the data store?
Directory per account, file per TXT record. I think files could work for up to 10K domains per account, obviously not enough for some users but good for most. No real idea what the performance of lookups would be like.
[Edit] Actually thinking about it, SQLite pretty much serves the same purpose.
@grzchr15 commented on GitHub (Mar 8, 2021):
https://github.com/go-sql-driver/mysql would support mariadb and mysql.
https://mariadb.com/ja/resources/blog/using-go-with-mariadb/