Update readme
This commit is contained in:
parent
7ed449dfef
commit
cd9aceb27a
2 changed files with 60 additions and 37 deletions
|
@ -7,14 +7,15 @@ Compatibility:
|
||||||
|
|
||||||
* MySQL 5.7 (partial support)
|
* MySQL 5.7 (partial support)
|
||||||
* MySQL 5.6 (full support)
|
* MySQL 5.6 (full support)
|
||||||
* MariaDB 10.0 (partial support)
|
* MariaDB 10.0 (full support)
|
||||||
* MariaDB 10.1 (partial support)
|
* MariaDB 10.1 (partial support)
|
||||||
* MySQL 5.5 (partial support)
|
* MySQL 5.5 (full support)
|
||||||
|
* MySQL 5.1 (full support)
|
||||||
* MySQL 3.23, 4.0, 4.1, 5.0, 5.1 (full support)
|
* MySQL 3.23, 4.0, 4.1, 5.0, 5.1 (full support)
|
||||||
* Perl 5.6 or later (with [perl-doc](http://search.cpan.org/~dapm/perl-5.14.4/pod/perldoc.pod) package)
|
* Perl 5.6 or later (with [perl-doc](http://search.cpan.org/~dapm/perl-5.14.4/pod/perldoc.pod) package)
|
||||||
* Unix/Linux based operating system (tested on Linux, BSD variants, and Solaris variants)
|
* Unix/Linux based operating system (tested on Linux, BSD variants, and Solaris variants)
|
||||||
* Windows is not supported at this time (Help wanted !!!!!)
|
* Windows is not supported at this time (Help wanted !!!!!)
|
||||||
* Unrestricted read access to the MySQL server (OS root access recommended for MySQL < 5.0)
|
* Unrestricted read access to the MySQL server (OS root access recommended for MySQL < 5.1)
|
||||||
|
|
||||||
***WARNING***
|
***WARNING***
|
||||||
--
|
--
|
||||||
|
|
60
README.ru.md
60
README.ru.md
|
@ -1,26 +1,28 @@
|
||||||
----- MySQLTuner-perl -----
|
MySQLTuner-perl
|
||||||
|
====
|
||||||
|
|
||||||
MySQLTuner это скрипт, написанный на Perl, который позволяет быстро произвести осмотр текущего состояния сервера баз данных MySQL
|
MySQLTuner это скрипт, написанный на Perl, который позволяет быстро произвести осмотр текущего состояния сервера баз данных MySQL
|
||||||
и составить рекомендации для увеличения производительности и стабильности работы. Выводятся текущие параметры конфигурации
|
и составить рекомендации для увеличения производительности и стабильности работы. Выводятся текущие параметры конфигурации
|
||||||
и информация о состоянии в формате отчета с основными подсказками по оптимизации.
|
и информация о состоянии в формате отчета с основными подсказками по оптимизации.
|
||||||
|
|
||||||
Совместимость:
|
Совместимость:
|
||||||
* MySQL 3.23, 4.0, 4.1, 5.0, 5.1 (полная поддержка)
|
|
||||||
* MySQL 5.4 (оттестировано не полностью, частичная поддержка)
|
|
||||||
* MySQL 5.5 (полная поддержка)
|
|
||||||
* MySQL 5.7 (полная поддержка)
|
* MySQL 5.7 (полная поддержка)
|
||||||
* MySQL 5.6 (полная поддержка)
|
* MySQL 5.6 (полная поддержка)
|
||||||
* MariaDB 10.0 (полная поддержка)
|
* MariaDB 10.0 (полная поддержка)
|
||||||
* MariaDB 10.1 (полная поддержка)
|
* MariaDB 10.1 (полная поддержка)
|
||||||
* MySQL 6.0 (частичная поддержка)
|
* MySQL 5.5 (полная поддержка)
|
||||||
|
* MySQL 5.1 (полная поддержка)
|
||||||
|
* MySQL 3.23, 4.0, 4.1, 5.0, 5.1 (полная поддержка)
|
||||||
* Perl 5.6 или более поздний
|
* Perl 5.6 или более поздний
|
||||||
* Операционная система семейства Unix/Linux (протестировано на Linux, различных вариациях BSD и Solaris)
|
* Операционная система семейства Unix/Linux (протестировано на Linux, различных вариациях BSD и Solaris)
|
||||||
* Windows не поддерживается на данное время
|
* Windows не поддерживается на данное время
|
||||||
* Неограниченный доступ на чтение для MySQL-сервера (Для работы с MySQL < 5.0 требуется root-доступ к серверу)
|
* Неограниченный доступ на чтение для MySQL-сервера (Для работы с MySQL < 5.1 требуется root-доступ к серверу)
|
||||||
|
|
||||||
Пожалуйста, прочитайте раздел ЧаВо, который расположен чуть ниже.
|
Пожалуйста, прочитайте раздел ЧаВо, который расположен чуть ниже.
|
||||||
|
|
||||||
*ПРЕДУПРЕЖДЕНИЕ*
|
***ПРЕДУПРЕЖДЕНИЕ***
|
||||||
|
--
|
||||||
Очень важно, чтобы вы имели представление о том, какие изменения вы
|
Очень важно, чтобы вы имели представление о том, какие изменения вы
|
||||||
вносите в параметры сервера баз данных MySQL. Если вы даже частично
|
вносите в параметры сервера баз данных MySQL. Если вы даже частично
|
||||||
не понимаете вывод отчета скрипта, или не понимаете рекомендации,
|
не понимаете вывод отчета скрипта, или не понимаете рекомендации,
|
||||||
|
@ -30,27 +32,33 @@ MySQLTuner это скрипт, написанный на Perl, который
|
||||||
и всегда будьте готовы к тому, что улучшения в одной области могут иметь
|
и всегда будьте готовы к тому, что улучшения в одной области могут иметь
|
||||||
отрицательный эфект в работе MySQL в другой области.
|
отрицательный эфект в работе MySQL в другой области.
|
||||||
|
|
||||||
Серьезно - прочитайте раздел ЧаВо, который расположен чуть ниже.
|
**Серьезно - прочитайте раздел ЧаВо, который расположен чуть ниже.**
|
||||||
*ПРЕДУПРЕЖДЕНИЕ*
|
|
||||||
|
|
||||||
----- Загрузка/Установка -----
|
ПРЕДУПРЕЖДЕНИЕ
|
||||||
|
--
|
||||||
|
|
||||||
|
Загрузка/Установка
|
||||||
|
--
|
||||||
|
|
||||||
You can download the entire repository by using 'git clone' followed by the cloning URL above. The simplest and shortest method is:
|
You can download the entire repository by using 'git clone' followed by the cloning URL above. The simplest and shortest method is:
|
||||||
|
|
||||||
wget mysqltuner.pl
|
wget http://mysqltuner.pl/ -O mysqltuner.pl
|
||||||
|
wget https://raw.githubusercontent.com/major/MySQLTuner-perl/master/basic_passwords.txt -O basic_passwords.txt
|
||||||
perl mysqltuner.pl
|
perl mysqltuner.pl
|
||||||
|
|
||||||
Of course, you can add the execute bit (chmod +x mysqltuner.pl) so you can execute it without calling perl directly.
|
Of course, you can add the execute bit (chmod +x mysqltuner.pl) so you can execute it without calling perl directly.
|
||||||
|
|
||||||
----- ЧаВо -----
|
|
||||||
|
ЧаВо
|
||||||
|
--
|
||||||
|
|
||||||
Вопрос: Will MySQLTuner fix my slow MySQL server?
|
Вопрос: Will MySQLTuner fix my slow MySQL server?
|
||||||
|
|
||||||
Literally - 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.
|
**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.*
|
||||||
|
|
||||||
Вопрос: Can I fire my DBA now?
|
Вопрос: Can I fire my DBA now?
|
||||||
|
|
||||||
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.
|
**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.
|
||||||
|
|
||||||
Вопрос: Why does MySQLTuner keep asking me the login credentials for MySQL over and over?
|
Вопрос: Why does MySQLTuner keep asking me the login credentials for MySQL over and over?
|
||||||
|
|
||||||
|
@ -60,7 +68,25 @@ The script will try its best to log in via any means possible. It will check fo
|
||||||
user=someusername
|
user=someusername
|
||||||
pass=thatuserspassword
|
pass=thatuserspassword
|
||||||
|
|
||||||
Once 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 and demands your database credentials, you won't have much of an option.
|
Once 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.
|
||||||
|
|
||||||
|
Вопрос: Is there another way to secure credentials on latest MySQL and MariaDB distributions ?
|
||||||
|
|
||||||
|
You could use mysql_config_editor utilities.
|
||||||
|
|
||||||
|
$ mysql_config_editor set --login-path=client --user=someusername --password --host=localhost
|
||||||
|
Enter passord: ********
|
||||||
|
$
|
||||||
|
|
||||||
|
At this time, ~/.mylogin.cnf has been written with appropriated rigth access.
|
||||||
|
|
||||||
|
To get information about stored credentials, use the following command:
|
||||||
|
|
||||||
|
$mysql_config_editor print
|
||||||
|
[client]
|
||||||
|
user = someusername
|
||||||
|
password = *****
|
||||||
|
host = localhost
|
||||||
|
|
||||||
Вопрос: It's not working on my OS! What gives?!
|
Вопрос: It's not working on my OS! What gives?!
|
||||||
|
|
||||||
|
@ -72,7 +98,3 @@ These kinds of things are bound to happen. Here are the details I need from you
|
||||||
* Where you obtained your MySQL version (OS package, source, etc)
|
* Where you obtained your MySQL version (OS package, source, etc)
|
||||||
* The full text of the error
|
* The full text of the error
|
||||||
* A copy of SHOW VARIABLES and SHOW GLOBAL STATUS output (if possible)
|
* A copy of SHOW VARIABLES and SHOW GLOBAL STATUS output (if possible)
|
||||||
|
|
||||||
Once you get those, join the Google Group and drop your issue to the list:
|
|
||||||
|
|
||||||
http://groups.google.com/group/mysqltuner-talk
|
|
||||||
|
|
Loading…
Reference in a new issue