Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/coip/perseverare
threw this together to make sure go-mysql-driver played well enough integrating against a managed mariaDB hosted on Azure, there were two gotchas
https://github.com/coip/perseverare
mariadb
Last synced: 10 days ago
JSON representation
threw this together to make sure go-mysql-driver played well enough integrating against a managed mariaDB hosted on Azure, there were two gotchas
- Host: GitHub
- URL: https://github.com/coip/perseverare
- Owner: coip
- Created: 2020-04-27T21:35:52.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-06-30T19:41:21.000Z (over 4 years ago)
- Last Synced: 2024-10-19T02:14:58.299Z (4 months ago)
- Topics: mariadb
- Language: Go
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
usage: replace the `${tokens}` below to vet
``` bash
$ go get https://github.com/coip/perseverare
$ username=${userID} \
password=${password} \
host=${servername}.mariadb.database.azure.com \
default_schema=${default_schema} \
perseverare
```the leading space in above snippet is intentional*, will (~typically) allow performing this check **without** logging the related secrets to ~bash_history.
also, you do need the mariadb in azure of course. this is already relatively banal, but without that, pfft.
*:[whole reason i made this md file]
-----
edit:
seems to also require at-least github.com/go-sql-driver/[email protected], perhaps even v1.5. (a toml w/ v1.3 in-part got me here)
> src: https://github.com/go-sql-driver/mysql/commit/9181e3a86a19bacd63e68d43ae8b7b36320d8092#diff-eeb2e1d2b086ffdc5e8a6e60178702aa