MySQLMyMonLite Error 3167 feature is disabled?
Hello, I` have transferred ( using cPanel Transfer Tool ) some sites from an old VPS to a new one, in the new VPS I have MySQL 5.7.
I`ve installed mysqlmymonlite, but if I try to run the script I see an error and after that the report:
Can you please help me to understand and solve this error?
./mysqlmymonlite.sh mysqltuner
ERROR 3167 (HY000) at line 1: The 'INFORMATION_SCHEMA.GLOBAL_STATUS' feature is disabled; see the documentation for 'show_compatibility_56'
-------------------------------------------------------------
System MySQL monitoring stats
mysqlmymonlite.sh - 0.5.5 WHM mysqlmymon.com
compiled by George Liu (eva2000) centminmod.com
-------------------------------------------------------------
Report Generated:
lun 18 giu 2018, 17.49.27, CEST
-------------------------------------------------
mysqltuner output
-------------------------------------------------
mysqltuner.pl [found]
>> MySQLTuner 1.7.5 - Major Hayden
>> Bug reports, feature requests, and downloads at http://mysqltuner.com/
>> Modified by George Liu (eva2000) at CentminMod.com LEMP Fully Optimized Nginx web stack for CentOS
>> Run with '--help' for additional options and output filtering
[--] Skipped version check for MySQLTuner script
[OK] Currently running supported MySQL version 5.7.22
[OK] Operating on 64-bit architecture
-------- Log file Recommendations ------------------------------------------------------------------
[--] Log file: /var/lib/mysql/host.pointnet.info.err(28K)
[OK] Log file /var/lib/mysql/host.pointnet.info.err exists
[OK] Log file /var/lib/mysql/host.pointnet.info.err is readable.
[OK] Log file /var/lib/mysql/host.pointnet.info.err is not empty
[OK] Log file /var/lib/mysql/host.pointnet.info.err is smaller than 32 Mb
[!!] /var/lib/mysql/host.pointnet.info.err contains 10 warning(s).
[OK] /var/lib/mysql/host.pointnet.info.err doesn't contain any error.
[--] 5 start(s) detected in /var/lib/mysql/host.pointnet.info.err
[--] 1) 2018-06-08 10:35:03 6189 [Note] /usr/sbin/mysqld: ready for connections.
[--] 2) 2018-06-08 00:54:00 17792 [Note] /usr/sbin/mysqld: ready for connections.
[--] 3) 2018-06-07 16:58:08 10136 [Note] /usr/sbin/mysqld: ready for connections.
[--] 4) 2018-06-07 16:53:38 6343 [Note] /usr/sbin/mysqld: ready for connections.
[--] 5) 2018-06-07 16:16:59 875 [Note] /usr/sbin/mysqld: ready for connections.
[--] 5 shutdown(s) detected in /var/lib/mysql/host.pointnet.info.err
[--] 1) 2018-06-08 21:41:45 6189 [Note] /usr/sbin/mysqld: Shutdown complete
[--] 2) 2018-06-08 09:40:42 17792 [Note] /usr/sbin/mysqld: Shutdown complete
[--] 3) 2018-06-07 17:03:33 10136 [Note] /usr/sbin/mysqld: Shutdown complete
[--] 4) 2018-06-07 16:58:07 6343 [Note] /usr/sbin/mysqld: Shutdown complete
[--] 5) 2018-06-07 16:17:09 875 [Note] /usr/sbin/mysqld: Shutdown complete
-------- Storage Engine Statistics -----------------------------------------------------------------
[--] Status: +ARCHIVE +BLACKHOLE +CSV -FEDERATED +InnoDB +MEMORY +MRG_MYISAM +MyISAM +PERFORMANCE_SCHEMA
[--] Data in MyISAM tables: 439K (Tables: 66)
[--] Data in InnoDB tables: 961M (Tables: 1700)
[OK] Total fragmented tables: 0
-------- Security Recommendations ------------------------------------------------------------------
[OK] There are no anonymous accounts for any database users
[OK] All database users have passwords assigned
[!!] There is no basic password file list!
-------- CVE Security Recommendations --------------------------------------------------------------
[--] Skipped due to --cvefile option undefined
-------- Performance Metrics -----------------------------------------------------------------------
[--] Up for: 9d 6h 34m 33s (41M q [51.235 qps], 185K conn, TX: 182G, RX: 8G)
[--] Reads / Writes: 73% / 27%
[--] Binary logging is disabled
[--] Physical Memory : 4.0G
[--] Max MySQL memory : 301.8M
[--] Other process memory: 888.2M
[--] Total buffers: 208.0M global + 1.9M per thread (50 max threads)
[--] P_S Max memory usage: 0B
[--] Galera GCache Max memory usage: 0B
[OK] Maximum reached memory usage: 219.2M (5.35% of installed RAM)
[OK] Maximum possible memory usage: 301.8M (7.37% of installed RAM)
[OK] Overall possible memory usage with other process is compatible with memory available
[OK] Slow queries: 0% (0/41M)
[OK] Highest usage of available connections: 12% (6/50)
[OK] Aborted connections: 0.10% (187/185199)
[!!] name resolution is active : a reverse name resolution is made for each new connection and can reduce performance
[!!] Query cache may be disabled by default due to mutex contention.
[OK] Query cache efficiency: 83.4% (31M cached / 37M selects)
[!!] Query cache prunes per day: 397451
[OK] Sorts requiring temporary tables: 0% (2K temp sorts / 1M sorts)
[!!] Joins performed without indexes: 79096
[!!] Temporary tables created on disk: 29% (74K on disk / 252K total)
[OK] Thread cache hit rate: 99% (43 created / 185K connections)
[!!] Table cache hit rate: 0% (512 open / 2M opened)
[OK] Open file limit used: 0% (12/50K)
[OK] Table locks acquired immediately: 99% (33K immediate / 33K locks)
-------- Performance schema ------------------------------------------------------------------------
[--] Performance schema is disabled.
[--] Memory used by P_S: 0B
[--] Sys schema is installed.
-------- ThreadPool Metrics ------------------------------------------------------------------------
[--] ThreadPool stat is disabled.
-------- MyISAM Metrics ----------------------------------------------------------------------------
[!!] Key buffer used: 18.4% (3M used / 16M cache)
[OK] Key buffer size / total MyISAM indexes: 16.0M/283.0K
[!!] Read Key buffer hit rate: 89.0% (190K cached / 20K reads)
[!!] Write Key buffer hit rate: 60.3% (12K cached / 7K writes)
-------- InnoDB Metrics ----------------------------------------------------------------------------
[--] InnoDB is enabled.
[--] InnoDB Thread Concurrency: 0
[OK] InnoDB File per table is activated
[!!] InnoDB buffer pool / data size: 128.0M/961.5M
[!!] Ratio InnoDB log file size / InnoDB Buffer pool size (75 %): 48.0M * 2/128.0M should be equal 25%
[OK] InnoDB buffer pool instances: 1
[--] Number of InnoDB Buffer Pool Chunk : 1 for 1 Buffer Pool Instance(s)
[OK] Innodb_buffer_pool_size aligned with Innodb_buffer_pool_chunk_size & Innodb_buffer_pool_instances
[OK] InnoDB Read buffer efficiency: 99.88% (923955293 hits/ 925063004 total)
[!!] InnoDB Write Log efficiency: 55.74% (2606783 hits/ 4676549 total)
[OK] InnoDB log waits: 0.00% (0 waits / 2069766 writes)
-------- AriaDB Metrics ----------------------------------------------------------------------------
[--] AriaDB is disabled.
-------- TokuDB Metrics ----------------------------------------------------------------------------
[--] TokuDB is disabled.
-------- XtraDB Metrics ----------------------------------------------------------------------------
[--] XtraDB is disabled.
-------- RocksDB Metrics ---------------------------------------------------------------------------
[--] RocksDB is disabled.
-------- Spider Metrics ----------------------------------------------------------------------------
[--] Spider is disabled.
-------- Connect Metrics ---------------------------------------------------------------------------
[--] Connect is disabled.
-------- Galera Metrics ----------------------------------------------------------------------------
[--] Galera is disabled.
-------- Replication Metrics -----------------------------------------------------------------------
[--] Galera Synchronous replication: NO
[--] No replication slave(s) for this server.
[--] This is a standalone server.
-------- Recommendations ---------------------------------------------------------------------------
General recommendations:
Control warning line(s) into /var/lib/mysql/host.pointnet.info.err file
Configure your accounts with ip or subnets only, then update your configuration with skip-name-resolve=1
Adjust your join queries to always utilize indexes. Please note this
calculation is made by adding Select_full_join + Select_range_check
status values and triggered when the total >250
When making adjustments, make tmp_table_size/max_heap_table_size equal
Reduce your SELECT DISTINCT queries which have no LIMIT clause
Increase table_open_cache gradually to avoid file descriptor limits
Read this before increasing table_open_cache over 64: table_cache negative scalability
(exception MariaDB 10.1.x mariadb.com/kb/en/mariadb/optimizing-table_open_cache/)
Beware that open_files_limit (50000) variable
should be greater than table_open_cache (512)
Performance should be activated for better diagnostics
Read this before changing innodb_log_file_size and/or innodb_log_files_in_group: MySQL :: MySQL 5.7 Reference Manual :: 14.7.2 Changing the Number or Size of InnoDB Redo Log Files
Variables to adjust:
query_cache_size (=0)
query_cache_type (=0)
query_cache_size (> 32M)
join_buffer_size (> 1.0M, or always use indexes with joins)
tmp_table_size (> 16M)
max_heap_table_size (> 16M)
table_open_cache (> 512)
performance_schema = ON enable PFS
innodb_buffer_pool_size (>= 961M) if possible.
innodb_log_file_size should be (=16M) if possible, so InnoDB total log files size equals to 25% of buffer pool size.
Report Complete:
lun 18 giu 2018, 17.49.33, CEST
Can you please help me to understand and solve this error?
-
Hello @Skin, The tuning script you are using is developed by a third-party and thus isn't supported. That said, the following StackOverflow thread should help you solve that error message: INFORMATION_SCHEMA.GLOBAL_VARIABLES alternative in 5.7? More info about show_compatibility_56 Thank you. 0 -
Hello, thanks for your help. 0
Please sign in to leave a comment.
Comments
2 comments