Commit graph

130 commits

Author SHA1 Message Date
root
5739dfd230 Adding database information 2015-06-18 22:02:55 +02:00
root
3b1d4fd1fb Adding debug options, Adding Databases size info" 2015-06-18 21:48:03 +02:00
root
9d619be2e2 create a dedicated sub for innodb 2015-06-18 10:56:47 +02:00
root
0e66f16b05 if .mylogin.cnf is set not SECURITY WARNING 2015-06-18 10:12:23 +02:00
root
d0a811dac6 Issue #75 on collations 2015-06-17 23:58:47 +02:00
root
ba2ea1f0f3 merged version 2015-06-17 23:28:50 +02:00
Jean-Marie RENOUARD
61ba60e1ee Fix for innodb buffer pool instances when buffer pool is lower than 1Go 2015-06-17 18:03:44 +02:00
Jean-Marie RENOUARD
bf922481b7 activate nocollor when reportfile is set 2015-06-17 17:50:06 +02:00
Jean-Marie RENOUARD
512cb3de1d activate nocollor when reportfile is set 2015-06-17 17:46:52 +02:00
root
0736ef7c56 adding --reportfile for file output result 2015-06-16 23:38:17 +02:00
Christian Loos
1f27eb393e fix fetching memory values on non-english Linux systems 2015-06-16 14:26:08 +02:00
Christian Loos
0b07468e43 move innodb_buffer_pool_instances output after innodb_buffer_pool_size 2015-06-16 13:34:41 +02:00
Christian Loos
1e7fe0d394 update innodb_buffer_pool_instances output
* make the output more consistent with the other InnoDB outputs
* calculate a value for 'Variables to adjust'
2015-06-16 13:21:58 +02:00
Christian Loos
9d50475025 don't mention innodb_buffer_pool_size again
innodb_buffer_pool_size is reported previously, so no need to do this
here again
2015-06-16 12:24:42 +02:00
Christian Loos
f2f2bdcf57 don't mention MySQL version again
The MySQL version is mentioned previously, so no need to do this here
again.
Also the version mentioned was wrong as innodb_buffer_pool_instances was
introduced in 5.5.4:
http://dev.mysql.com/doc/refman/5.5/en/innodb-parameters.html#sysvar_innodb_buffer_pool_instances
2015-06-16 12:19:38 +02:00
Jean-Marie RENOUARD
e231e21d1e Adding advice for buffer_pool_size_instances variables for 5.6.6+ mysql version 2015-06-15 16:22:51 +02:00
Jean-Marie RENOUARD
c8043c2965 Warning message for lagging slave 2015-06-15 15:34:29 +02:00
Jean-Marie RENOUARD
7d51d2f69e adding --passwordfile option 2015-06-15 15:23:05 +02:00
Jean-Marie RENOUARD
50d7718c07 some debug output cleanup. 2015-06-15 09:47:24 +02:00
Jean-Marie RENOUARD
e919e904ba Adding extra security test for password based on password list 2015-06-12 16:09:59 +02:00
Rene Schmidt
836bed3891 added option mysqlcmd so you can give a custom mysql command to mysqltuner.pl 2015-04-16 16:58:48 +02:00
Nick Ostrovsky
33c85281e9 Update mysqltuner.pl 2014-12-29 21:15:13 +07:00
Major Hayden
4f472521d7 Version 1.4.0 2014-12-04 09:56:31 -06:00
Cole Turner
3b12ccb773 Added name to contributor list. 2014-12-04 10:52:28 -05:00
Cole Turner
5f1e12f11d Adding check for autoincrement keys
Not familiar with Perl, please double check.
2014-12-04 02:14:02 -05:00
Erik Ljungstrom
604900d536 Fixed reporting for temporary tables created on disk. Created_tmp_disk_tables is a subset of Created_tmp_tables 2014-12-02 12:58:57 +00:00
Joe Horn
dee239f243 Update mysqltuner.pl
* information_schema.ENGINES doesn't exist before MySQL 5.1
* table cache var. depends on MySQL version
2014-11-06 19:43:43 +08:00
Cristi
f5355b4349 added new option
added the "--buffers" option to print all global and thread buffer values for easier tuning
2014-10-23 13:37:11 +03:00
Major Hayden
2c69d953f8 Merge pull request #45 from altblue/master
improve "$arch" variable usage
2014-08-12 07:31:53 -05:00
Baebeca
a5a9455245 Update mysqltuner.pl
minor format fixes
2014-08-10 19:18:16 +02:00
Major Hayden
9341faf56a Correct table_cache_var bug
Fixes #49 by correcting a small error from #48. Sorry, folks!
2014-06-05 20:45:16 -05:00
Aron Rotteveel
ab58b15ef0 Fix for MySQL 5.6 table_open_cache
MySQL 5.6 fails silently when table_cache is used instead of table_open_cache. MySQLTuner should indicate table_open_cache instead of table_cache when printing variable suggestions.
2014-06-05 21:57:30 +02:00
Marius Feraru
8347fafe4e improve "$arch" variable usage
- handle the (default!) undefined case;
- really treat it as a number (cause that's the way it is defined everywhere in "check_architecture", and it is compared to a number too);
- (try to) avoid extra ops by reordering the operations.
2014-03-21 17:38:40 +02:00
zequeitor
7a28b64ecf check query cache verification on mysql >= 5.6.8
Add query cache type verification
MySQL >= 5.6.8 has query_cache_type OFF by default. It will disables the entire cache. 
http://dev.mysql.com/doc/refman/5.6/en/server-system-variables.html#sysvar_query_cache_type
2014-03-06 18:22:02 -02:00
Blake Swopes
a07f7a16e3 Shifting InnoDB log waits block up into the have_innodb block.
This should prevent any attempt to access an undefined Innodb_log_waits value.

resolves #42
2014-03-03 14:24:36 -08:00
Major Hayden
dbcb8178ed Version 1.3.0 2014-02-21 19:43:08 -06:00
Major Hayden
216bade70e Merge pull request #18 from meghuizen/patch-1
Add DirectAdmin support.
2014-02-21 19:15:04 -06:00
Major Hayden
35955db67f Merge pull request #19 from DanBUK/master
Swap position of innodb buffer pool size and data size arguments
2014-02-21 19:13:46 -06:00
Major Hayden
e23a798563 Add more flexible engine display support
Fixes #22.
2014-02-21 19:04:45 -06:00
Major Hayden
6c9ed7cdb8 Hide stderr if which svcprop fails
Fixes #29.
2014-02-21 18:44:12 -06:00
Major Hayden
7571672419 Merge branch 'master' of https://github.com/sunfoxcz/MySQLTuner-perl into sunfoxcz-master 2014-02-21 18:40:15 -06:00
Major Hayden
18eed21ecd Cleanup of custom mysqladmin command code
Fixes #30.
2014-02-21 11:32:49 -06:00
Major Hayden
7b0664bbbf Merge branch 'master' of https://github.com/aylazhang/MySQLTuner-perl into aylazhang-master 2014-02-21 11:23:41 -06:00
Major Hayden
37d1703b6f Merge pull request #32 from gibas/add-darwin-arch
Add darwin arch
2014-02-21 11:16:02 -06:00
Major Hayden
bdca23452c Removed version checking routines until I can figure out something different
Somewhat fixes #33. I'll open a new issue to work on a new version checker.
2014-02-21 11:13:34 -06:00
Major Hayden
18b4b8f982 Adding warning about big table caches
This isn't the ideal fix, but at least the warning is there. Many thanks to @ywarnier for pointing this out to me on GitHub. ;)

Fixes #36.
2014-02-21 11:09:59 -06:00
Major Hayden
47e3dd2350 Avoid divide by zero error with key_buffer_size
Fixes #35.
2014-02-21 11:04:38 -06:00
Major Hayden
1ed12ad68c Adds suggestion for innodb_log_buffer_size
Fixes #38
2014-02-21 10:44:43 -06:00
Major Hayden
aba4d3b444 Fixed version parse errors for MariaDB 10.x
MariaDB 10.x still has limited support in MySQLTuner.  Using this script with MariaDB may cause your server to start chasing cars. :)

This fixes #34.
2014-02-21 10:36:26 -06:00
Krzysztof Gibas
fda5bad78d fixed uname execution syntax 2013-05-24 19:43:26 +02:00