Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cweagans/ddev-mysql-proxy
Experimental. A MySQL proxy that knows about ddev databases + can proxy traffic through.
https://github.com/cweagans/ddev-mysql-proxy
Last synced: 30 days ago
JSON representation
Experimental. A MySQL proxy that knows about ddev databases + can proxy traffic through.
- Host: GitHub
- URL: https://github.com/cweagans/ddev-mysql-proxy
- Owner: cweagans
- Created: 2019-10-30T16:44:37.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-30T16:44:51.000Z (about 5 years ago)
- Last Synced: 2024-05-01T22:57:24.026Z (8 months ago)
- 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
# ddev-mysql-proxy
Goal: one MySQL endpoint that knows about + can proxy to all of your currently running ddev databases.
When you `show databases`, you should see a list of ddev project names. When you `use whateverproject`, further queries should be proxied to the `ddev-whateverproject-db` database server using the `db` database that ddev ships with OOTB.
This project is still very early and mostly doesn't work.
## what works
* compilation
* connecting to the proxy with a mysql cli client
* discovery of all ddev database containers## what doesn't work
* pretty much everything else
## building
`go mod vendor`
`go build`