MySQL command line utility
$ mysql - h host -u user -p mydatabase
switches
--execute "mysql-command"
prints query output rows vertically (one line per column value) or you can specify vertical output for individual statements by terminating them with \G instead of \g.