update documentation for tests
This commit is contained in:
parent
d1f39e9a00
commit
84f61be841
2 changed files with 48 additions and 13 deletions
|
@ -181,7 +181,7 @@ Copy of the license is available at [LICENSE]
|
||||||
## MySQLTuner Code Conventions
|
## MySQLTuner Code Conventions
|
||||||
|
|
||||||
1. Check code convention using **perltidy** and **perlcritic**
|
1. Check code convention using **perltidy** and **perlcritic**
|
||||||
2. Don't manually update the version number in `mysqltuner.pl`.
|
2. Don't manually update the version number in `mysqltuner.pl`.
|
||||||
|
|
||||||
|
|
||||||
[Enhancement issue]:https://github.com/major/MySQLTuner-perl/labels/enhancement
|
[Enhancement issue]:https://github.com/major/MySQLTuner-perl/labels/enhancement
|
||||||
|
|
59
README.md
59
README.md
|
@ -37,10 +37,12 @@ Test result are available here: [Travis CI/MySQLTuner-perl](https://travis-ci.or
|
||||||
* MySQL 8 (partial support, password checks don't work)
|
* MySQL 8 (partial support, password checks don't work)
|
||||||
* MySQL 5.7 (full support)
|
* MySQL 5.7 (full support)
|
||||||
* MySQL 5.6 (full support)
|
* MySQL 5.6 (full support)
|
||||||
|
* MySQL 5.5 (full support)
|
||||||
* MariaDB 10.3 (full support)
|
* MariaDB 10.3 (full support)
|
||||||
* MariaDB 10.2 (full support)
|
* MariaDB 10.2 (full support)
|
||||||
* MariaDB 10.1 (full support)
|
* MariaDB 10.1 (full support)
|
||||||
* MariaDB 10.0 (full support, 6 last month support)
|
* MariaDB 10.0 (full support, 6 last month support)
|
||||||
|
* MariaDB 5.5 (no more support)
|
||||||
* Percona Server 5.7 (full support)
|
* Percona Server 5.7 (full support)
|
||||||
* Percona Server 5.6 (full support)
|
* Percona Server 5.6 (full support)
|
||||||
* Percona XtraDB cluster (full support)
|
* Percona XtraDB cluster (full support)
|
||||||
|
@ -267,14 +269,10 @@ Yes! `brew install mysqltuner` can be used to install this application using [ho
|
||||||
MySQLTuner and Vagrant
|
MySQLTuner and Vagrant
|
||||||
--
|
--
|
||||||
**MySQLTuner** contains following Vagrant configurations:
|
**MySQLTuner** contains following Vagrant configurations:
|
||||||
* Fedora Core 23 / MariaDB 10.0
|
* Fedora Core 30 / Docker
|
||||||
* Fedora Core 23 / MariaDB 10.1
|
|
||||||
* Fedora Core 23 / MySQL 5.6
|
|
||||||
* Fedora Core 23 / MySQL 5.7
|
|
||||||
|
|
||||||
**Vagrant File** are stored in Vagrant subdirectory.
|
**Vagrant File** is stored in Vagrant subdirectory.
|
||||||
* Follow this 2 steps after vagrant installation:
|
* Follow following step after vagrant installation:
|
||||||
* Rename VagrantFile_for_Mxxx into Vagrantfile
|
|
||||||
* vagrant up
|
* vagrant up
|
||||||
|
|
||||||
**MySQLTuner** contains a Vagrant configurations for test purpose and development
|
**MySQLTuner** contains a Vagrant configurations for test purpose and development
|
||||||
|
@ -287,13 +285,50 @@ MySQLTuner and Vagrant
|
||||||
* vagrant plugin install vagrant-hostmanager
|
* vagrant plugin install vagrant-hostmanager
|
||||||
* vagrant plugin install vagrant-vbguest
|
* vagrant plugin install vagrant-vbguest
|
||||||
* Add Fedora Core 23 box for official Fedora Download Website
|
* Add Fedora Core 23 box for official Fedora Download Website
|
||||||
* vagrant box add --name fc23 https://download.fedoraproject.org/pub/fedora/linux/releases/23/Cloud/x86_64/Images/Fedora-Cloud-Base-Vagrant-23-20151030.x86_64.vagrant-virtualbox.box
|
* vagrant box add --name generic/fedora30
|
||||||
* Create a data directory
|
* Create a data directory
|
||||||
* mkdir data
|
* mkdir data
|
||||||
* Rename Vagrantfile_MariaDB10.0 into Vagrantfile
|
|
||||||
* cp MySQLTuner-perl/Vagrant/Vagrantfile_for_MariaDB10.0 Vagrantfile
|
|
||||||
* Start vagrant
|
## setup test environments
|
||||||
* vagrant up
|
|
||||||
|
$ sh build/createTestEnvs.sh
|
||||||
|
|
||||||
|
$ source build/bashrc
|
||||||
|
$ mysql_percona80 sakila
|
||||||
|
sakila> ...
|
||||||
|
|
||||||
|
$ docker images REPOSITORY TAG IMAGE ID CREATED SIZE
|
||||||
|
mariadb 10.1 fc612450e1f1 12 days ago 352MB
|
||||||
|
mariadb 10.2 027b7c57b8c6 12 days ago 340MB
|
||||||
|
mariadb 10.3 47dff68107c4 12 days ago 343MB
|
||||||
|
mariadb 10.4 92495405fc36 12 days ago 356MB
|
||||||
|
mysql 5.6 95e0fc47b096 2 weeks ago 257MB
|
||||||
|
mysql 5.7 383867b75fd2 2 weeks ago 373MB
|
||||||
|
mysql 8.0 b8fd9553f1f0 2 weeks ago 445MB
|
||||||
|
percona/percona-server 5.7 ddd245ed3496 5 weeks ago 585MB
|
||||||
|
percona/percona-server 5.6 ed0a36e0cf1b 6 weeks ago 421MB
|
||||||
|
percona/percona-server 8.0 390ae97d57c6 6 weeks ago 697MB
|
||||||
|
mariadb 5.5 c7bf316a4325 4 months ago 352MB
|
||||||
|
mariadb 10.0 d1bde56970c6 4 months ago 353MB
|
||||||
|
mysql 5.5 d404d78aa797 4 months ago 205MB
|
||||||
|
|
||||||
|
$ docker ps
|
||||||
|
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
|
||||||
|
da2be9b050c9 mariadb:5.5 "docker-entrypoint.s…" 7 hours ago Up 7 hours 0.0.0.0:5311->3306/tcp mariadb55
|
||||||
|
5deca25d5ac8 mariadb:10.0 "docker-entrypoint.s…" 7 hours ago Up 7 hours 0.0.0.0:5310->3306/tcp mariadb100
|
||||||
|
73aaeb37e2c2 mariadb:10.1 "docker-entrypoint.s…" 7 hours ago Up 7 hours 0.0.0.0:5309->3306/tcp mariadb101
|
||||||
|
72ffa77e01ec mariadb:10.2 "docker-entrypoint.s…" 7 hours ago Up 7 hours 0.0.0.0:5308->3306/tcp mariadb102
|
||||||
|
f5996f2041df mariadb:10.3 "docker-entrypoint.s…" 7 hours ago Up 7 hours 0.0.0.0:5307->3306/tcp mariadb103
|
||||||
|
4890c52372bb mariadb:10.4 "docker-entrypoint.s…" 7 hours ago Up 7 hours 0.0.0.0:5306->3306/tcp mariadb104
|
||||||
|
6b9dc078e921 percona/percona-server:5.6 "/docker-entrypoint.…" 7 hours ago Up 7 hours 0.0.0.0:4308->3306/tcp percona56
|
||||||
|
3a4c7c826d4c percona/percona-server:5.7 "/docker-entrypoint.…" 7 hours ago Up 7 hours 0.0.0.0:4307->3306/tcp percona57
|
||||||
|
3dda408c91b0 percona/percona-server:8.0 "/docker-entrypoint.…" 7 hours ago Up 7 hours 33060/tcp, 0.0.0.0:4306->3306/tcp percona80
|
||||||
|
600a4e7e9dcd mysql:5.5 "docker-entrypoint.s…" 7 hours ago Up 7 hours 0.0.0.0:3309->3306/tcp mysql55
|
||||||
|
4bbe54342e5d mysql:5.6 "docker-entrypoint.s…" 7 hours ago Up 7 hours 0.0.0.0:3308->3306/tcp mysql56
|
||||||
|
a49783249a11 mysql:5.7 "docker-entrypoint.s…" 7 hours ago Up 7 hours 33060/tcp, 0.0.0.0:3307->3306/tcp mysql57
|
||||||
|
d985820667c2 mysql:8.0 "docker-entrypoint.s…" 7 hours ago Up 7 hours 0.0.0.0:3306->3306/tcp, 33060/tcp mysql80
|
||||||
|
|
||||||
|
|
||||||
MySQLTuner needs you
|
MySQLTuner needs you
|
||||||
--
|
--
|
||||||
|
|
Loading…
Reference in a new issue