Any way to get the 'vertical format' using \G?

[expired user #8234]'s profile image [expired user #8234] posted 8 years ago in General Permalink

Is there a way to get the vertical format? I use \G in the command line for this.

I find it especially helpful when viewing "show slave status". Trying to see "seconds behind master" is a pain in the normal format.

MariaDB [(none)]> show slave status\G
*************************** 1. row ***************************
               Slave_IO_State: Waiting for master to send event
                  Master_Host: my.master.com
                  Master_User: slave1
                  Master_Port: 3306
                Connect_Retry: 60
              Master_Log_File: mysql-bin.013262
          Read_Master_Log_Pos: 29567295
               Relay_Log_File: relay-bin.011418
                Relay_Log_Pos: 29566375
        Relay_Master_Log_File: mysql-bin.013262
             Slave_IO_Running: Yes
            Slave_SQL_Running: Yes
              Replicate_Do_DB:
          Replicate_Ignore_DB:
           Replicate_Do_Table:
       Replicate_Ignore_Table:
      Replicate_Wild_Do_Table: snare.%
  Replicate_Wild_Ignore_Table:
                   Last_Errno: 0
                   Last_Error:
                 Skip_Counter: 0
          Exec_Master_Log_Pos: 295087
              Relay_Log_Space: 292229353
              Until_Condition: None
               Until_Log_File:
                Until_Log_Pos: 0
           Master_SSL_Allowed: No
           Master_SSL_CA_File:
           Master_SSL_CA_Path:
              Master_SSL_Cert:
            Master_SSL_Cipher:
               Master_SSL_Key:
        Seconds_Behind_Master: 0
Master_SSL_Verify_Server_Cert: No
                Last_IO_Errno: 0
                Last_IO_Error:
               Last_SQL_Errno: 0
               Last_SQL_Error:
  Replicate_Ignore_Server_Ids:
             Master_Server_Id: 1535
1 row in set (0.00 sec)


MariaDB [(none)]>

Cheers

kalvaro's profile image kalvaro posted 8 years ago Permalink

No, there isn't such feature. As a workaround, you can always call regular command-line from HeidiSQL (Tools-> Launch command line).

Some times in the past it's been suggested to have a "Single record" view in data grids (which I particularly find rather useful in certain situations) but it never got implemented (you know, HeidiSQL is basically the effort of one German guy in his spare time ;-)

[expired user #8234]'s profile image [expired user #8234] posted 8 years ago Permalink

you know, HeidiSQL is basically the effort of one German guy in his spare time ;-)

And he has done a remarkable job.

Yes, I use the command line for that command.

[expired user #8234]'s profile image [expired user #8234] posted 8 years ago Permalink

And thank you for your response.

Please login to leave a reply, or register at first.