4
votes
1answer
6k views

How to escape MySQL command prompt

I have installed MySQL. Now I am stuck inside the MySQL command prompt. I ran MySQL like this: C:\>mysql.exe mysql> Then I type in some invalid command like this: mysql> /version ...
17
votes
4answers
13k views

How do I close the Terminal in OSX from the command line?

Why doesn't "exit" close a Terminal.app window on Mac OS X? $ exit logout [Process completed] Is there a way to close the window without using the mouse?