Commit graph

881 commits

Author SHA1 Message Date
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
Major Hayden
71f14ea053 Merge pull request #6 from koebi001/master
use the maintenance account on a debian system
2011-11-14 07:45:40 -08: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
Ville Skyttä
a49c091457 Avoid some awk and grep invocations for portability (e.g. Windows). 2011-04-02 14:51:06 +03:00
Ville Skyttä
c88f07fa73 Grammar fix. 2011-04-01 21:17:33 +03:00
Ville Skyttä
b5dd0397bf Trim trailing whitespace. 2011-03-08 20:38:37 +02:00
Ville Skyttä
d6c7f9ac4d Add Emacs indentation settings. 2011-03-08 20:37:58 +02:00
mhayden
05813a1faa Version bump to 1.2.0 2011-03-06 18:50:36 -06:00
mhayden
23f582fe27 Merge branch 'master' of https://github.com/scop/MySQLTuner-perl into scop-master 2011-03-06 16:34:57 -06:00
Ville Skyttä
778cc60885 Work around MySQL bug #59393 wrt. ignore-builtin-innodb. 2011-03-06 13:04:08 +02:00
Ville Skyttä
4df766729c Check engine availability also with SHOW ENGINES.
have_$engine are deprecated and will be removed in MySQL 5.6, and some
of them are either missing in some versions before that or show wrong
values - see e.g. MySQL bugs #47286 and #59393.
2011-03-06 12:59:46 +02:00
Ville Skyttä
a1d7114759 Fix detection of Federated engine availability.
The variable is have_federated_engine, not have_federated.
2011-03-06 12:53:32 +02:00
Ville Skyttä
e8495cea28 List users without passwords as user@host, sorted. 2010-01-25 08:22:52 +08:00
Ville Skyttä
0bd59c3330 List users without passwords as user@host, sorted. 2009-12-24 23:29:45 +02:00
rackerhacker
b2dfc8789a Bumped version number to 1.1.1 2009-09-17 23:26:12 +00:00
rackerhacker
f0f9f3f325 Added AIX 5L support (patch from Baptiste M. via the blog)
Adjusted the version number (should have been done for the 1.1.0 tagged release)
2009-09-17 23:24:33 +00:00
rackerhacker
32cf710293 Added in a check for users without passwords and check for slaves running with read_only disabled (patch from Isart Montane) 2009-09-17 23:13:22 +00:00
rackerhacker
9d002146d5 Forgot to change the old assembla svn note in the script over to github. :| 2009-09-17 22:42:53 +00:00
rackerhacker
41594a5581 Added the GPLv3 license along with the script. 2009-09-16 03:33:28 +00:00
rackerhacker
22aa240de8 Expanded README 2009-09-16 02:12:48 +00:00
rackerhacker
25a5f310ae Test commit. 2009-09-16 01:43:21 +00:00
major
ee9ba96d21 Added README file for github prettyness. 2009-09-16 01:36:40 +00:00
major
e29c3d342c Version bump to 1.1.0
Added git tag 'v1.1.0
2009-09-16 01:00:56 +00:00
Major Hayden
fff47e9a6f Fixed a Solaris awk bug, found a more reliable way to get the home directory, and fixed a syntactical error. (Thanks to Adam Stein) 2009-05-28 02:16:16 +00:00
Major Hayden
e425897b41 Fixed an issue where the percentage of keys pulled from memory would not exist if no keys have been read since the server started. (Thanks to Simon Greenaway) 2009-05-28 01:54:39 +00:00
Major Hayden
c4bb3c0d26 A warning is now provided if if the query_cache_size goes over 128M. (Thanks to Tim Soderstrom) 2009-05-28 01:50:29 +00:00
Major Hayden
e419c79356 Fixed an issue where null storage engines appeared when querying INFORMATION_SCHEMA. 2009-05-28 01:23:55 +00:00
Major Hayden
a2bb3ab149 Fixed an issue where MEMORY tables would appear in the fragmented table list, which caused some confusion. (Thanks to Gary Barrueto) 2009-05-28 00:57:31 +00:00
Major Hayden
62e42e3c25 When counting index size for MyISAM tables, the INFORMATION_SCHEMA query included all engines. (Thanks to Tom Krouper) 2009-05-28 00:40:43 +00:00
Major Hayden
a462d4d01d Version bump to 1.0.0
Small spelling correction
Contributors list updated
2008-12-01 23:37:24 +00:00
Major Hayden
c0ab5bc196 Version bump to 1.0.0-rc1
Fixed memory calculation problem in NetBSD where the amount of memory overflowed a 32-bit integer.  Used "sysctl -n hw.physmem64" rather than "sysctl -n hw.physmem" in those situations. (Thanks to Dave Burgess)
Fixed an issue where the script would suggest adding skip-isam to the MySQL configuration in 4.0.x, but the directive wasn't available until 4.1.1. (Thanks to Ryan Novosielski)
Fixed an issue with MySQL 5.1 where table_open_cache needed to be adjusted, rather than open_cache. (Thanks to Michael Scheidell and Blair Christensen)
Adjusted some misleading wording when MySQL's memory usage is very high relative to the amount of physical memory installed. Increased threshold to 90%. (Thanks to Hans du Plooy)
Fixed an issue where MySQL logins failed when a socket was specified but a .my.cnf file was also present. (Thanks to Victor Trac)
Added full support for Solaris. (Big thanks to Bill Bradford)
2008-11-02 18:25:55 +00:00
Major Hayden
e328934a19 Fixed an issue with NULL storage engines appearing on some servers. 2008-09-08 20:40:22 +00:00
Major Hayden
c8c2dd9518 Bumped version to 0.9.9
Added --socket option to use an alternative socket (thanks Mark!)
Added OpenBSD memory checking support (thanks Giovanni!)
Added counts to report lines to provide additional detail
Fixed error where disabling BDB was recommended even when BDB tables were present (thanks Greg!)
Fixed an issue with big integers (> 2^32) from key calculations (thanks Aubin!)
Fixed an error on Solaris machines (thanks Bill!)
Fixed an issue where the key buffer calculation caused errors when no indexes were present
Added Giovanni Bechis, Greg Eden, Aubin Galinotti, Mark Imbriaco and Bill Bradford to the contributors list
2008-09-08 01:16:39 +00:00
Major Hayden
e475bfa48b Version bump to 0.9.8
Added new options to help output
Made version checking off by default, enabled by --checkversion option
2008-07-21 16:19:50 +00:00
Major Hayden
ec4180839a Version bump to 0.9.5
Support is now available for remote servers
Can force the script to assume that a certain amount of memory is present (thanks Jason!)
Usernames and passwords can now be passed on the command line
Added Jason Gill to the contributors list
2008-07-13 03:18:20 +00:00
Major Hayden
af3b70578f Version bump to 0.9.1
Added checks for fragmented tables
Fixed login routine to allow zero-length passwords without re-prompting for the password repeatedly
Added workaround for wget 1.11 timestamping bug
Fixed a math error in the temporary table calculations
Fixed an error that occurred when the status variable Open_files returned zero
Added table cache change in preparation for MySQL 6.x
Thanks to Ville Skytta, Trent Hornibrook and Luuk Vosslamber for the bug reports and feature requests!
2008-06-19 02:33:54 +00:00
Major Hayden
7a154d635e Fixed an issue with table_cache in MySQL 6.x (it's now table_open_cache in MySQL 6.x) 2008-04-08 21:43:05 +00:00
Major Hayden
59eaf76f47 Version bump to 0.9.0
Fixed a bug where NULL may appear when enumerating tables on MySQL 5
MySQLTuner now checks for updates and allows the checks to be disabled
2008-04-06 15:17:10 +00:00
Major Hayden
6311b077cd Version bump to 0.8.9
Added an option to skip the enumeration/sizing of tables (--skipsize), which should help on servers with lots of tables
Changed the table enumeration/sizing method for MySQL 5 to use information_schema (increased performance drastically)
Adjusted the query_cache_limit recommendation to include the currently set value, rather than 1M each time
Changed the wording for tmp_table_size/max_heap_table_size to make it less confusing
2008-04-05 16:34:57 +00:00
Major Hayden
dc73ed5328 Version bump.
Added Shawn Ashlee to contributors.
2008-02-27 03:13:03 +00:00
Major Hayden
734a8a4a2f Added lines between sections to increase readability.
Corrected a bug where storage engine statuses were still in color even with --nocolor.
Excluded information_schema tables from calculations (they were showing up as usual MEMORY tables).
2008-02-27 03:07:15 +00:00