Home » Mysql » mysql expanded output

mysql expanded output

Posted by: admin April 4, 2018 Leave a comment


I’m coming from postgresql to mysql, curious if mysql has an expanded output flag similar to that of postgresql?

ie: in psql I could \x to get expanded output

id | name
 1 | foo


-[ Record ]------
id   | 1
name | foo

how can I do this in mysql?


try SELECT foo FROM bla\G instead of SELECT foo FROM bla;