Created
May 4, 2020 08:29
-
-
Save sebastiansommer/1a105222e2fc34f483c99f6df2253a70 to your computer and use it in GitHub Desktop.
DDEV Open MYSQL from Command Line (for example to use TablePlus)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PORT="$(ddev describe | ggrep -Pio "(?<=port=)[0-9]*")" | |
open mysql://db:db@127.0.0.1:${PORT}/db |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment