When I do a SELECT in MySQL's command-line interpreter I get a sweet ASCII table:
+----+------+ | id | name | +----+------+ | 1 | Bob | | 2 | Mary | | 3 | Jane | | 4 | Lisa | +----+------+
However, if I pipe the result somewhere (e.g., echo "SELECT ..." | mysql), I get a boring old tab-delimited result.
How can I get the fancy table format in stdout?