When I mess up an sql statement the command line client goes berserk.
Steps to reproduce.
1. Open a windows command line.
2. cd to the location of mysql.exe
3. run mysql.exe
4. type an invalid command like "show tables;" without selecting a database first.
At this point I have to reboot.