Home > Database > Mysql Tutorial > body text

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

WBOY
Release: 2016-06-01 13:28:38
Original
2013 people have browsed it

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>  
Copy after login

而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>   
Copy after login

 


bitsCN.com
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template