You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Open project DB from the terminal / DDEV (e.g. ddev tablepro) #1486
Coming from TablePlus, I'm used to typing ddev tableplus to open a DDEV project's database without re-entering connection details. There's no equivalent for TablePro: DDEV ships built-in launchers for TablePlus, Sequel Ace, and a few others, but not TablePro, so there's no first-class "open this project's DB in TablePro from the terminal" path.
Proposed solution
A first-class CLI / DDEV integration so ddev tablepro (or a documented terminal command) opens the project database in TablePro.
TablePro already registers as a URL handler for the standard schemes (mysql://, postgresql://, etc.), so open "mysql://user:[email protected]:PORT/db" works today. What's missing is the official, documented path:
An official DDEV custom host command (.ddev/commands/host/tablepro) we publish and document, so users can drop it in and run ddev tablepro.
Docs section showing how to open TablePro from the terminal / DDEV, including forcing TablePro over TablePlus when both are installed (open -b com.TablePro "mysql://...").
Stretch: get a ddev tablepro launcher contributed upstream to DDEV so it works out of the box.
Alternatives considered
Manual open "mysql://..." from the shell: works but undiscoverable, and routes to whichever app is the default mysql:// handler (TablePlus wins if both are installed).
Hand-writing a DDEV custom command: works, but every user has to figure it out themselves. Documenting/shipping it removes the guesswork.
Activity
feat(connections): open a database from the terminal and DDEV (#1486)
feat(connections): open a database from the terminal and DDEV (#1486) (…