Open ChaosExAnima opened 5 years ago
@tlovett1 @cmmarslender - Thoughts? Happy to write a PR if you'd like!
If we need phpMyAdmin, I totally agree. This is what we do with Elasticsearch.
It's a pretty useful tool for complex SQL operations, and already bundled in the package anyway? I just find it mildly inconvenient to remember the localhost port and enter credentials when I don't have to.
I'm onboard then.
I believe it would be useful to allow a way to jump to the relevant phpMyAdmin page using the
/__dbadmin /
URL like is done for memcache and ES.The approach that could work:
proxypass
rule in nginx for the appropriate host.proxy_set_header
to set auto-login.wordpress
credentials.Bonus: If the system can detect the correct DB name, you can automagically only display the site's DB with the config. You'll need to find a way to pass that to nginx, however.