MySQL Pretty Print
mySQL results can suck if your screen isn't wide enough to display everything. Here's the solution:
mysql> SELECT * FROM Table \G;
Written by Miles Matthias
Related protips
3 Responses

Nice tip, thanks!
over 1 year ago
·

Also I like a lot mysql -t mydb < file | less -S
mysql -t : display output in table format
less -S : do not fold long lines
over 1 year ago
·

crazy how the simple things just seem to work
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Mysql
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#