Dec 30, 2013
cPanel Access Level
Root Administrator
Hello i have a new dedicated server and would like to optimize the my.cnf file. Can anyone recommend what to change in the below MySQLTuner output

 >>  MySQLTuner 1.3.0 - Major Hayden 
 >>  Bug reports, feature requests, and downloads at http://mysqltuner.com/
 >>  Run with '--help' for additional options and output filtering
[OK] Logged in using credentials passed on the command line
[OK] Currently running supported MySQL version 5.5.37-cll
[OK] Operating on 64-bit architecture

-------- Storage Engine Statistics -------------------------------------------
[--] Data in MyISAM tables: 4M (Tables: 184)
[--] Data in InnoDB tables: 2M (Tables: 150)
[--] Data in PERFORMANCE_SCHEMA tables: 0B (Tables: 17)
[!!] Total fragmented tables: 16

-------- Security Recommendations  -------------------------------------------
[OK] All database users have passwords assigned

-------- Performance Metrics -------------------------------------------------
[--] Up for: 1d 23h 52m 38s (144K q [0.838 qps], 9K conn, TX: 1B, RX: 17M)
[--] Reads / Writes: 75% / 25%
[--] Total buffers: 168.0M global + 2.8M per thread (151 max threads)
[OK] Maximum possible memory usage: 583.2M (7% of installed RAM)
[OK] Slow queries: 0% (0/144K)
[OK] Highest usage of available connections: 2% (4/151)
[OK] Key buffer size / total MyISAM indexes: 8.0M/2.0M
[OK] Key buffer hit rate: 99.9% (900K cached / 769 reads)
[!!] Query cache is disabled
[OK] Sorts requiring temporary tables: 0% (0 temp sorts / 16K sorts)
[OK] Temporary tables created on disk: 18% (1K on disk / 7K total)
[!!] Thread cache is disabled
[!!] Table cache hit rate: 9% (400 open / 4K opened)
[OK] Open file limit used: 41% (421/1K)
[OK] Table locks acquired immediately: 99% (104K immediate / 104K locks)
[OK] InnoDB buffer pool / data size: 128.0M/2.4M
[OK] InnoDB log waits: 0
-------- Recommendations -----------------------------------------------------
General recommendations:
    Run OPTIMIZE TABLE to defragment tables for better performance
    Enable the slow query log to troubleshoot bad queries
    Set thread_cache_size to 4 as a starting value
    Increase table_cache gradually to avoid file descriptor limits
    Read this before increasing table_cache over 64: http://bit.ly/1mi7c4C
Variables to adjust:
    query_cache_size (>= 8M)
    thread_cache_size (start at 4)
    table_cache (> 400)


Staff member
Apr 11, 2011
Hello :)

You might receive user-feedback on specific values to utilize, however if not, you could try adjusting the values based on the output under "Variables to adjust" from the tuning script.

Thank you.