mysql 打竖显示结果

加个\G在最后现就可以了.

mysql> select * from mailbox \G
*************************** 1. row ***************************
username:
[email protected]
password: $1$15d22544$D/Y8M.my6mHd6CPZSQJQB.
    name: unixboy
 maildir:
[email protected]/
   quota: 0
  domain: abc.com
 created: 2008-05-28 07:57:18
modified: 2008-05-28 07:57:18
  active: 1
*************************** 2. row ***************************
username:
[email protected]
password: $1$1453554f$7SDHURAembk9a5Vs5aQEF.
    name: feng.123
 maildir:
[email protected]/
   quota: 0
  domain: abc.com
 created: 2008-05-28 08:01:50
modified: 2008-05-28 08:01:50
  active: 1
2 rows in set (0.00 sec)

你可能感兴趣的:(mysql)