nilnandan.joshi@bm-support01:~/sandboxes$ mysql -uroot -p --socket=/tmp/mysql_sandbox5173.sock
Warning: Using unique option prefix pass instead of password is deprecated and will be removed in a future release. Please use the full name instead.
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 4
Server version: 5.1.73-14.12 Percona Server (GPL), Release 14.12, Revision 624
Copyright (c) 2009-2015 Percona LLC and/or its affiliates
Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> select @@global.log_slow_verbosity;
+-----------------------------+
| @@global.log_slow_verbosity |
+-----------------------------+
| microtime |
+-----------------------------+
1 row in set (0.00 sec)
mysql> SET global log_slow_verbosity=standard;
Query OK, 0 rows affected (0.00 sec)
mysql> select @@global.log_slow_verbosity;
+-----------------------------+
| @@global.log_slow_verbosity |
+-----------------------------+
| microtime,query_plan |
+-----------------------------+
1 row in set (0.00 sec)
Same with 5.1
nilnandan. joshi@bm- support01: ~/sandboxes$ mysql -uroot -p --socket= /tmp/mysql_ sandbox5173. sock
Warning: Using unique option prefix pass instead of password is deprecated and will be removed in a future release. Please use the full name instead.
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 4
Server version: 5.1.73-14.12 Percona Server (GPL), Release 14.12, Revision 624
Copyright (c) 2009-2015 Percona LLC and/or its affiliates
Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> select @@global. log_slow_ verbosity; ------- ------- ------- --+ log_slow_ verbosity | ------- ------- ------- --+ ------- ------- ------- --+
+------
| @@global.
+------
| microtime |
+------
1 row in set (0.00 sec)
mysql> SET global log_slow_ verbosity= standard;
Query OK, 0 rows affected (0.00 sec)
mysql> select @@global. log_slow_ verbosity; ------- ------- ------- --+ log_slow_ verbosity | ------- ------- ------- --+ query_plan | ------- ------- ------- --+
+------
| @@global.
+------
| microtime,
+------
1 row in set (0.00 sec)
mysql>