1 line
No EOL
4.1 KiB
JSON
1 line
No EOL
4.1 KiB
JSON
{"name":"MySQLTuner-perl","tagline":"MySQLTuner is a script written in Perl that will assist you with your MySQL configuration and make recommendations for increased performance and stability.","body":"MySQLTuner-perl\r\n====\r\n\r\nMySQLTuner is a script written in Perl that allows you to review a MySQL installation quickly and make adjustments to increase performance and stability. The current configuration variables and status data is retrieved and presented in a brief format along with some basic performance suggestions.\r\n\r\nCompatibility:\r\n\r\n* MySQL 3.23, 4.0, 4.1, 5.0, 5.1 (full support)\r\n* MySQL 5.4 (not fully tested, partially supported)\r\n* MySQL 6.0 (partial support)\r\n* MariaDB 10.x (partial support)\r\n* Perl 5.6 or later (with [perl-doc](http://search.cpan.org/~dapm/perl-5.14.4/pod/perldoc.pod) package)\r\n* Unix/Linux based operating system (tested on Linux, BSD variants, and Solaris variants)\r\n* Windows is not supported at this time\r\n* Unrestricted read access to the MySQL server (OS root access recommended for MySQL < 5.0)\r\n\r\n***WARNING***\r\n--\r\nIt is **extremely important** for you to fully understand each change \r\nyou make to a MySQL database server. If you don't understand portions \r\nof the script's output, or if you don't understand the recommendations, \r\n**you should consult** a knowledgeable DBA or system administrator \r\nthat you trust. **Always** test your changes on staging environments, and \r\nalways keep in mind that improvements in one area can **negatively affect** \r\nMySQL in other areas.\r\n\r\n**Seriously - please review the FAQ section below.**\r\n\r\nDownload/Installation\r\n--\r\n\r\nYou can download the entire repository by using 'git clone' followed by the cloning URL above. The simplest and shortest method is:\r\n\r\n\twget mysqltuner.pl\r\n\tperl mysqltuner.pl\r\n\t\r\nOf course, you can add the execute bit (`chmod +x mysqltuner.pl`) so you can execute it without calling perl directly.\r\n\r\nFAQ\r\n--\r\n\r\nQuestion: Will MySQLTuner fix my slow MySQL server?\r\n\r\n**No.** MySQLTuner is a read only script. It won't write to any configuration files, change the status of any daemons, or call your mother to wish her a happy birthday. It will give you an overview of your server's performance and make some basic recommendations about improvements that you can make after it completes. *Make sure you read the warning above prior to following any recommendations.*\r\n\r\nQuestion: Can I fire my DBA now?\r\n\r\n**MySQLTuner will not replace your DBA in any form or fashion.** If your DBA constantly takes your parking spot and steals your lunch from the fridge, then you may want to consider it - but that's your call.\r\n\r\nQuestion: Why does MySQLTuner keep asking me the login credentials for MySQL over and over?\r\n\r\nThe script will try its best to log in via any means possible. It will check for ~/.my.cnf files, Plesk password files, and empty password root logins. If none of those are available, then you'll be prompted for a password. If you'd like the script to run in an automated fashion without user intervention, then create a .my.cnf file in your home directory which contains:\r\n\r\n\t[client]\r\n\tuser=someusername\r\n\tpass=thatuserspassword\r\n\t\r\nOnce you create it, make sure it's owned by your user and the mode on the file is 0600. This should prevent the prying eyes from getting your database login credentials under normal conditions. If a [T-1000 shows up in a LAPD uniform](https://en.wikipedia.org/wiki/T-1000) and demands your database credentials, you won't have much of an option.\r\n\r\nQuestion: It's not working on my OS! What gives?!\r\n\r\nThese kinds of things are bound to happen. Here are the details I need from you in order to research the problem thoroughly:\r\n\r\n\t* OS and OS version\r\n\t* Architecture (x86, x86_64, IA64, Commodore 64)\r\n\t* Exact MySQL version\r\n\t* Where you obtained your MySQL version (OS package, source, etc)\r\n\t* The full text of the error\r\n\t* A copy of SHOW VARIABLES and SHOW GLOBAL STATUS output (if possible)","google":"UA-1115744-17","note":"Don't delete this file! It's used internally to help with page regeneration."} |