-
-
Notifications
You must be signed in to change notification settings - Fork 619
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a "ddev mysql" command #1551
Comments
Could you say more about what you use the mysql command for? It sounds like you must do it a lot. Note that there are so many ways to access the database:
|
I find myself having to
or I use |
I don't object... but
And come to think of it, I don't know why we never provided a direct mysql command, since it's right there in Just making noise about options. I guess I didn't really understand the OP. What's being asked for is a simple command like |
Interested in what the votes would be for the name of a command. |
@rfay I am an advanced sql user and I prefer console. Launching Sequel Pro or typying a long command ( |
Thanks for helping me understand @dmitryd - The reality is we're long overdue for allowing a tty and interactive behavior on (I use mysql as you do, almost never use another tool. My habit is to |
Just FYI #1571 allows easy |
I would be happy with |
#1571 also makes |
Perhaps using a drush alias would make this easier. Something like It seems that it shouldn't be too difficult to set up a drush alias for a drupal 8 site. I'm hitting some snags tho. It looks like the command to ssh into a docker container is something like: |
You'll want to use |
While
ddev exec --service db mysql
is documented, it would be much easier & faster to typeddev db
for this. Could you implement it, please?Thanks!
The text was updated successfully, but these errors were encountered: