MySQL Utilities MySQL Tutorial

Just do a quick look up on a table without logging into the client, running the query then logging back out again.
You can instead just type one line using the ' -e ' flag.

c:\mysql\bin\mysql -u admin -p myDatabase -e 'SELECT * FROM employee'