Commit Graph

113 Commits

Author SHA1 Message Date
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
Krzysztof Gibas
fffef5c7c2 added Darwin as 64bit architecture, as kaalis pointed out in https://github.com/rackerhacker/MySQLTuner-perl/pull/27#issuecomment-15450764 2013-05-24 19:24:23 +02:00
Krzysztof Gibas
4b95c66d33 added Darwin as 64bit architecture, as kaalis pointed out in https://github.com/rackerhacker/MySQLTuner-perl/pull/27#issuecomment-15450764 2013-05-24 19:11:08 +02:00
aylazh
dbdddf4775 nothing. 2013-03-19 18:09:29 +08:00
aylazhang@gmail.com
8824bb49f1 little modify 2013-03-19 18:05:29 +08:00
zhangyan
2d1b2bd32d add mysqladmin option 2013-03-19 17:56:01 +08:00
foxycode
d07b504f8c Added Solaris SMF and SmartOS/Percona Quickbackup detection to get credentials automatically. 2013-02-12 23:53:51 +01:00
Krzysztof Gibas
1188149f32 fixed finding a 64bit architecture on NetBSD/OpenBSD and FreeBSD 2012-12-21 13:39:36 +01:00
Krzysztof Gibas
409884e597 fix finding a 64bit architecture on FreeBSD 2012-12-21 13:11:38 +01:00
Krzysztof Gibas
7dd218760b fix memory detection on FreeBSD 2012-12-21 12:51:28 +01:00
Daniel
9f40efe480 Swap position of innodb buffer pool size and data size arguments to match key buffer size args. 2012-05-17 15:30:51 +01:00
Michiel
33d97c672c Add DirectAdmin support. Also tested on DirectAdmin v 1.40.3 on Debian 6 - 64 bits #17 2012-04-26 15:49:29 +03:00
Markus Köberl
27f1454b0e update comments and logging messages 2011-04-21 14:36:10 +02:00
Markus Köberl
2e347611ff use the option --defaults-file ... 2011-04-21 08:32:29 +02:00
Markus Köberl
18bab70c84 use the maintanance account on debian system 2011-04-20 13:23:30 +02:00
Ville Skyttä
6add6186bc Use portable /dev/null from File::Spec. 2011-04-02 15:03:32 +03:00
Ville Skyttä
32b1eb2111 Ignore output from stty for portability (e.g. Windows). 2011-04-02 14:56:42 +03:00
Ville Skyttä
46bdd402f4 Simplify MySQL version checks. 2011-04-02 14:54:00 +03:00