January 2nd, 2014, 05:11 PM
Editing a mysql command in mysqlclient
Ok, this should be a simple one, but I'm not finding the answer via google. I searched devshed as well with no luck.
So I have a multi-line statement that I ran. I want to edit it and re-run it. I type \e and the command comes up in vi. I edit the sql and hit wq. I'm back to mysqlclient. I know that the edited command has been saved in the buffer because if I type \e again, the edited command shows up.
Simple question. How do I run that edited command?
January 2nd, 2014, 05:19 PM
Nevermind, I figured it out.