← Home · ↑ October 2009 · Bookmark #12609

Enabling Vertical (\G) Output in the MySQL Client | Slaptijack

"One problem with the MySQL command line client is that queries with lots of columns tend to wrap crazily based on your terminal size. To overcome this, you can get a vertical output by terminating your queries with \G instead of ;. I find this format extremely helpful in cases where I know only one row will be returned. "
Saved on