[MySQL参数取值] Status取值ERROR 1193 (HY000): Unknown system_MySQL

WBOY
發布: 2016-06-01 13:28:38
原創
2014 人瀏覽過

bitsCN.com

[MySQL参数取值] Status取值ERROR 1193 (HY000): Unknown system variable 'Innodb_buffer_pool_read_requests'

 

variables参数值,可以通过 select @@xx取值,如下:

[sql] mysql> show variables like 'innodb_buffer_pool_size';  +-------------------------+-------------+  | Variable_name           | Value       |  +-------------------------+-------------+  | innodb_buffer_pool_size | 22020096000 |  +-------------------------+-------------+  1 row in set (0.00 sec)      mysql> select @@innodb_buffer_pool_size;  +---------------------------+  | @@innodb_buffer_pool_size |  +---------------------------+  |               22020096000 |  +---------------------------+  1 row in set (0.00 sec)      mysql>  
登入後複製

而status参数就不行,why?

[sql] mysql> show status like 'Innodb_buffer_pool_read_requests';  +----------------------------------+-------------+  | Variable_name                    | Value       |  +----------------------------------+-------------+  | Innodb_buffer_pool_read_requests | 15551159458 |  +----------------------------------+-------------+  1 row in set (0.00 sec)      mysql> select @@Innodb_buffer_pool_read_requests;  ERROR 1193 (HY000): Unknown system variable 'Innodb_buffer_pool_read_requests'  mysql>   
登入後複製

 


bitsCN.com
來源:php.cn
本網站聲明
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn
熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板