fix: Markdown rules fixed
This commit is contained in:
parent
a40b26907d
commit
6be008de4d
3 changed files with 54 additions and 35 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -15,3 +15,4 @@ result.txt
|
||||||
reports_*
|
reports_*
|
||||||
golang/prog-*
|
golang/prog-*
|
||||||
.vscode
|
.vscode
|
||||||
|
test_db/**
|
||||||
|
|
27
README.md
27
README.md
|
@ -18,10 +18,9 @@
|
||||||
You can find more details on these indicators here:
|
You can find more details on these indicators here:
|
||||||
[Indicators description](https://github.com/major/MySQLTuner-perl/blob/master/INTERNALS.md).
|
[Indicators description](https://github.com/major/MySQLTuner-perl/blob/master/INTERNALS.md).
|
||||||
|
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
MySQLTuner needs you:
|
MySQLTuner needs you
|
||||||
===
|
===
|
||||||
|
|
||||||
**MySQLTuner** needs contributors for documentation, code and feedback..
|
**MySQLTuner** needs contributors for documentation, code and feedback..
|
||||||
|
@ -37,11 +36,18 @@ MySQLTuner needs you:
|
||||||
|
|
||||||
Compatibility
|
Compatibility
|
||||||
====
|
====
|
||||||
|
|
||||||
Test result are available here: [Travis CI/MySQLTuner-perl](https://travis-ci.org/major/MySQLTuner-perl)
|
Test result are available here: [Travis CI/MySQLTuner-perl](https://travis-ci.org/major/MySQLTuner-perl)
|
||||||
|
|
||||||
* MySQL 8.0 (partial support, password checks don't work)
|
* MySQL 8.0 (partial support, password checks don't work)
|
||||||
* Percona Server 8.0 (partial support, password checks don't work)
|
* Percona Server 8.0 (partial support, password checks don't work)
|
||||||
* MySQL 5.7 (full support)
|
* MySQL 5.7 (full support)
|
||||||
* Percona Server 5.7 (full support)
|
* Percona Server 5.7 (full support)
|
||||||
|
* MariaDB 10.11 (full support)
|
||||||
|
* MariaDB 10.10 (full support)
|
||||||
|
* MariaDB 10.9 (full support)
|
||||||
|
* MariaDB 10.8 (full support)
|
||||||
|
* MariaDB 10.7 (full support)
|
||||||
* MariaDB 10.6 (full support)
|
* MariaDB 10.6 (full support)
|
||||||
* MariaDB 10.5 (full support)
|
* MariaDB 10.5 (full support)
|
||||||
* MariaDB 10.4 (full support)
|
* MariaDB 10.4 (full support)
|
||||||
|
@ -60,6 +66,7 @@ Test result are available here: [Travis CI/MySQLTuner-perl](https://travis-ci.or
|
||||||
* MySQL 3.23, 4.0, 4.1, 5.0, 5.1 (no support - deprecated version)
|
* MySQL 3.23, 4.0, 4.1, 5.0, 5.1 (no support - deprecated version)
|
||||||
|
|
||||||
***Windows Support is partial***
|
***Windows Support is partial***
|
||||||
|
|
||||||
* Windows is now supported at this time
|
* Windows is now supported at this time
|
||||||
* Successfully run MySQLtuner across WSL2 (Windows Subsystem Linux )
|
* Successfully run MySQLtuner across WSL2 (Windows Subsystem Linux )
|
||||||
* [https://docs.microsoft.com/en-us/windows/wsl/](https://docs.microsoft.com/en-us/windows/wsl/)
|
* [https://docs.microsoft.com/en-us/windows/wsl/](https://docs.microsoft.com/en-us/windows/wsl/)
|
||||||
|
@ -68,6 +75,7 @@ Test result are available here: [Travis CI/MySQLTuner-perl](https://travis-ci.or
|
||||||
* Cloud based is not supported at this time (Help wanted !!!!! GCP, AWS, Azure support asked)
|
* Cloud based is not supported at this time (Help wanted !!!!! GCP, AWS, Azure support asked)
|
||||||
|
|
||||||
***Unsupported storage engines: PRs welcome***
|
***Unsupported storage engines: PRs welcome***
|
||||||
|
|
||||||
* NDB is not supported feel free to Pull Request code :)
|
* NDB is not supported feel free to Pull Request code :)
|
||||||
* MyISAM is to old is no longer active
|
* MyISAM is to old is no longer active
|
||||||
* RockDB
|
* RockDB
|
||||||
|
@ -88,6 +96,7 @@ Test result are available here: [Travis CI/MySQLTuner-perl](https://travis-ci.or
|
||||||
|
|
||||||
***WARNING***
|
***WARNING***
|
||||||
--
|
--
|
||||||
|
|
||||||
It is **extremely important** for you to fully understand each change
|
It is **extremely important** for you to fully understand each change
|
||||||
you make to a MySQL database server. If you don't understand portions
|
you make to a MySQL database server. If you don't understand portions
|
||||||
of the script's output, or if you don't understand the recommendations,
|
of the script's output, or if you don't understand the recommendations,
|
||||||
|
@ -101,7 +110,6 @@ It's **also important** to wait at least a day of uptime to get accurate results
|
||||||
|
|
||||||
**Seriously - please review the FAQ section below.**
|
**Seriously - please review the FAQ section below.**
|
||||||
|
|
||||||
|
|
||||||
Security recommendations
|
Security recommendations
|
||||||
--
|
--
|
||||||
|
|
||||||
|
@ -111,6 +119,7 @@ Read link for more details [Issue #289](https://github.com/major/MySQLTuner-perl
|
||||||
|
|
||||||
What MySQLTuner is checking exactly ?
|
What MySQLTuner is checking exactly ?
|
||||||
--
|
--
|
||||||
|
|
||||||
All checks done by **MySQLTuner** are documented in [MySQLTuner Internals](https://github.com/major/MySQLTuner-perl/blob/master/INTERNALS.md) documentation.
|
All checks done by **MySQLTuner** are documented in [MySQLTuner Internals](https://github.com/major/MySQLTuner-perl/blob/master/INTERNALS.md) documentation.
|
||||||
|
|
||||||
Download/Installation
|
Download/Installation
|
||||||
|
@ -120,7 +129,7 @@ Choose one of these methods:
|
||||||
|
|
||||||
1) Script direct download (the simplest and shortest method):
|
1) Script direct download (the simplest and shortest method):
|
||||||
|
|
||||||
```
|
```bash
|
||||||
wget http://mysqltuner.pl/ -O 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
|
wget https://raw.githubusercontent.com/major/MySQLTuner-perl/master/basic_passwords.txt -O basic_passwords.txt
|
||||||
wget https://raw.githubusercontent.com/major/MySQLTuner-perl/master/vulnerabilities.csv -O vulnerabilities.csv
|
wget https://raw.githubusercontent.com/major/MySQLTuner-perl/master/vulnerabilities.csv -O vulnerabilities.csv
|
||||||
|
@ -135,32 +144,37 @@ Sysschema is installed by default under MySQL 5.7 and MySQL 8 from Oracle.
|
||||||
By default, on MySQL 5.6/5.7/8, performance schema is enabled by default.
|
By default, on MySQL 5.6/5.7/8, performance schema is enabled by default.
|
||||||
For previous MySQL 5.6 version, you can follow this command to create a new database sys containing very useful view on Performance schema:
|
For previous MySQL 5.6 version, you can follow this command to create a new database sys containing very useful view on Performance schema:
|
||||||
|
|
||||||
|
```bash
|
||||||
curl "https://codeload.github.com/mysql/mysql-sys/zip/master" > sysschema.zip
|
curl "https://codeload.github.com/mysql/mysql-sys/zip/master" > sysschema.zip
|
||||||
# check zip file
|
# check zip file
|
||||||
unzip -l sysschema.zip
|
unzip -l sysschema.zip
|
||||||
unzip sysschema.zip
|
unzip sysschema.zip
|
||||||
cd mysql-sys-master
|
cd mysql-sys-master
|
||||||
mysql -uroot -p < sys_56.sql
|
mysql -uroot -p < sys_56.sql
|
||||||
|
```
|
||||||
|
|
||||||
Optional Performance schema and Sysschema installation for MariaDB < 10.6
|
Optional Performance schema and Sysschema installation for MariaDB < 10.6
|
||||||
--
|
--
|
||||||
|
|
||||||
Sysschema is not installed by default under MariaDB prior to 10.6 [MariaDB sys](https://mariadb.com/kb/en/sys-schema/)
|
Sysschema is not installed by default under MariaDB prior to 10.6 [MariaDB sys](https://mariadb.com/kb/en/sys-schema/)
|
||||||
|
|
||||||
|
|
||||||
By default, on MariaDB, performance schema is disabled by default. consider activating performance schema across your my.cnf configuration file:
|
By default, on MariaDB, performance schema is disabled by default. consider activating performance schema across your my.cnf configuration file:
|
||||||
|
|
||||||
|
```ini
|
||||||
[mysqld]
|
[mysqld]
|
||||||
performance_schema = on
|
performance_schema = on
|
||||||
|
```
|
||||||
|
|
||||||
You can follow this command to create a new database sys containing very useful view on Performance schema:
|
You can follow this command to create a new database sys containing very useful view on Performance schema:
|
||||||
|
|
||||||
|
```bash
|
||||||
curl "https://codeload.github.com/FromDual/mariadb-sys/zip/master" > mariadb-sys.zip
|
curl "https://codeload.github.com/FromDual/mariadb-sys/zip/master" > mariadb-sys.zip
|
||||||
# check zip file
|
# check zip file
|
||||||
unzip -l mariadb-sys.zip
|
unzip -l mariadb-sys.zip
|
||||||
unzip mariadb-sys.zip
|
unzip mariadb-sys.zip
|
||||||
cd mariadb-sys-master/
|
cd mariadb-sys-master/
|
||||||
mysql -u root -p < ./sys_10.sql
|
mysql -u root -p < ./sys_10.sql
|
||||||
|
```
|
||||||
|
|
||||||
Errors & solutions for performance schema installation
|
Errors & solutions for performance schema installation
|
||||||
|
|
||||||
|
@ -169,10 +183,13 @@ Errors & solutions for performance schema installation
|
||||||
|
|
||||||
Performance tips
|
Performance tips
|
||||||
--
|
--
|
||||||
|
|
||||||
Metadata statistic updates can impact strongly performance of database servers and MySQLTuner.
|
Metadata statistic updates can impact strongly performance of database servers and MySQLTuner.
|
||||||
Be sure that innodb_stats_on_metadata is disabled.
|
Be sure that innodb_stats_on_metadata is disabled.
|
||||||
|
|
||||||
|
```bash
|
||||||
set global innodb_stats_on_metadata = 0;
|
set global innodb_stats_on_metadata = 0;
|
||||||
|
```
|
||||||
|
|
||||||
Specific usage
|
Specific usage
|
||||||
--
|
--
|
||||||
|
|
1
test_db
Submodule
1
test_db
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit d01cb62fcfa4671773f167480df174d8ce4316c1
|
Loading…
Reference in a new issue