Commit graph

781 commits

Author SHA1 Message Date
Oscar A. Figueroa
adb33d3c37 Resolved issue #304 2017-03-07 12:48:43 +01:00
root
f04b32c854 Use of uninitialized value #304
tidify script
2017-03-06 15:17:43 +01:00
root
48be29a288 issue #300 Performance schema shouldn t be installed on 5.5 version. 2017-02-14 09:40:52 +01:00
root
59238301bf Adding new indicators for Galera Cluster' 2017-02-13 18:08:28 +01:00
Greg Kennedy
02f13fcb52 Do not test skip_name_resolve if skip_networking is ON
MySQL name resolution only applies to TCP/IP connections ( see lines 504 and 599 of mysql-server/sql/sql_connect.cc ).  Thus there is no reason to test, or suggest, setting skip_name_resolve if skip_networking exists and is turned on.
2017-02-08 11:10:48 -06:00
Jean-Marie RENOUARD
871d984d1a Add advice for performance schema 2017-02-07 06:56:17 +01:00
Jean-Marie RENOUARD
490da41bcd Adding #289 adding warning info
#271 adding message prescision for in advces message
2017-02-06 22:34:08 +01:00
Bruno Perel
97d1ea347f Fix typo 2017-01-27 15:57:57 +01:00
root
67e78592da #285 Argument "xxxM" isn t numeric in numeric ge (>=) 2017-01-23 17:32:47 +01:00
root
def15c2f8f Adding recommandations for Galera 2017-01-13 12:23:05 +01:00
git001
e454b30c61 Fix Argument "NULL" isn't numeric
Argument "NULL" isn't numeric in numeric ge (>=) at ./mysqltuner.pl line 305 (#1)
    (W numeric) The indicated string was fed as an argument to an operator
    that expected a numeric value instead.  If you're fortunate the message
    will identify which operator was so unfortunate.
2016-12-28 10:52:33 +01:00
Sergei A Mamonov
bb6b7ca623 Disable zero prototypes in few functions 2016-12-27 13:16:17 +03:00
i5513
be1f4b48c4 Allow to connect via socket with not default port
Seems like it is necessary to specify the port when you have 2 instances runing and you want to connect via socket.
2016-12-20 10:35:41 +01:00
Sergei A Mamonov
1b04540a4c fix check innodb_file_per_table with skip-innodb 2016-12-12 14:19:49 +03:00
root
7f02c8655c Merge branch 'master' of https://github.com/major/MySQLTuner-perl 2016-12-08 11:29:59 +01:00
root
22709a4517 #265 wrong table name 2016-12-08 11:29:50 +01:00
jfcoz
2dfb2a2cc9 query cache hit rate was not calculated when badprint "Query cache may be disabled by default due to mutex contention" 2016-12-08 09:45:38 +01:00
Sergei A Mamonov
4bc3a50c2d fix code style in log_file_recommandations 2016-12-07 16:31:51 +03:00
Sergei A Mamonov
d3ea7ea342 fix error on show last start/shutdowns 2016-12-07 16:23:53 +03:00
root
2861883432 Perl Error #280 2016-12-05 09:31:03 +01:00
root
4d20ffea0c Doesn't work for remote server on AWS #279 2016-12-05 09:27:54 +01:00
root
7a0565d9e5 Detect Error and warning in error log #252
Detect last MySQL / MariaDB last shutdown and startup #253
2016-12-02 16:21:58 +01:00
root
7acf66f73c Bug on log file calculation 2016-12-02 15:27:38 +01:00
root
f7699b4515 #278 Escaping password items 2016-12-02 15:24:52 +01:00
git001
caa785ec59 Fix Argument "NULL" isn't numeric
Argument "NULL" isn't numeric in numeric ge (>=) at mysqltuner.pl line 288 (#1)
    (W numeric) The indicated string was fed as an argument to an operator
    that expected a numeric value instead.  If you're fortunate the message
    will identify which operator was so unfortunate.
[--]  +-- ROWS : 0
Argument "NULL" isn't numeric in numeric eq (==) at mysqltuner.pl line 343 (#1)
    (W numeric) The indicated string was fed as an argument to an operator
    that expected a numeric value instead.  If you're fortunate the message
    will identify which operator was so unfortunate.
[--]  +-- ENGIN : 0 (NULL)
Argument "NULL" isn't numeric in numeric lt (<) at mysqltuner.pl line 3847 (#1)
2016-11-28 20:39:47 +01:00
root
ce7eefb3da Bug fix on Galera Gcache mem calculation 2016-11-28 17:51:46 +01:00
root
5be96339a1 Incorrect innodb log file size calculation #271 2016-11-28 17:48:22 +01:00
root
eac905b632 MariaDB GTID mode #272 2016-11-28 17:39:41 +01:00
Artur Penttinen
5a6742ee85 Hiding username and password from commandline
It is possible to spy username and password if command run
with --user/-pass options (ps -C mysqltuner.pl -F).
To hiding these added options --userenv/--passenv for
transfer MySQL username and password via environment
variables.
2016-11-16 11:05:33 +02:00
Michael R Mawhinney Jr
947856901a Minor spelling correction 2016-11-09 22:29:34 -05:00
root
e6b57a84d3 New indicators from performance schema 2016-11-03 10:36:59 +01:00
root
5872fcc1ee #265 TOP 15 queries with temp table to disk
#260 Memory used > 100% ?
#258
2016-11-02 21:16:54 +01:00
root
6b9920902b Last modifications 2016-11-02 20:02:41 +01:00
Jean-Marie Renouard
51ea5925d1 Merge pull request #263 from henriquemoody/patch-1
Use single quotes around password
2016-10-27 21:17:13 +02:00
Henrique Moody
5a3873ece4 Use single quotes around password
Password may contain characters, like `$` and `!`, that may be interpreted by
the shell. Prevent it to happen by using single quotes.
2016-10-27 15:28:41 +02:00
Karl Chen
05c1e6eb75 Non importance changes 2016-10-24 17:25:07 +08:00
Karl Chen
f68b731498 Non importance changes 2016-10-24 17:21:56 +08:00
Karl Chen
4f1a6ec38b Non importance changes 2016-10-24 07:36:05 +08:00
Karl Chen
f4e46cdbc0 Non importance changes 2016-10-24 07:34:19 +08:00
Karl Chen
915be0fbe4 Non importance changes 2016-10-24 00:38:32 +08:00
Karl Chen
301e5f2291 Non importance changes 2016-10-24 00:32:48 +08:00
Karl Chen
7b3f2ce9a9 Something wrong to print 2016-10-23 13:42:01 +08:00
root
6a70adebd3 Full support performance schema
Update vulnerability list
Updade INTERNALS doc.
2016-10-18 14:55:13 +02:00
root
bbc04d848f #258 new rule for innodb log file size (25% of Buffer pool size) 2016-10-18 14:25:02 +02:00
root
cff9e62933 Adding new indicators from sys schema 2016-10-17 17:04:10 +02:00
root
c10c7e81ec Redundant indexes" 2016-10-10 19:03:40 +02:00
root
e684a45120 * TOP 15 most read tables
* TOP 15 most modified tables
* TOP 15 high select latency tables
* TOP 15 high insert latency tables
* TOP 15 high update latency tables
* TOP 15 high delete latency tables
2016-10-10 18:39:56 +02:00
root
101c13baed Typo fix 2016-10-10 18:18:26 +02:00
root
f826adecf2 * TOP 15 most read indexes
* TOP 15 most modified indexes
* TOP 15 higth select latency index
* TOP 15 higth insert latency index
* TOP 15 higth update latency index
* TOP 15 higth delete latency index
2016-10-10 18:14:52 +02:00
root
ad9228d029 * Event per wait total latency
* Event per wait read latency
* Event per wait write latency
2016-10-10 16:54:45 +02:00
root
16f0d5d9ff Adding * Event Wait by read bytes
* Event Wait by write bytes
2016-10-10 16:00:15 +02:00
root
7b46762a1a Adding pfs indicators related to File IO 2016-10-10 15:34:29 +02:00
root
50ece21b2d New indicators from performance schema
On the road to 1.7.x version
2016-10-06 10:44:58 +02:00
root
30616932d7 Adding Performance stat per user 2016-09-27 16:07:26 +02:00
root
20b9fa2a19 Included a lot of new indicators for PFS when using --pfstat or --verbose option 2016-09-26 18:32:35 +02:00
root
8263cbda27 Update doc 2016-09-26 16:00:20 +02:00
root
243c54eaa0 Adding --defaults-file to change credentials storage 2016-09-26 15:53:32 +02:00
root
972bf2e4ae #193 adding some useful extraction for sysschema 2016-09-19 16:13:22 +02:00
root
2b6a0c3522 Adding Comment with sys request 2016-09-12 16:43:20 +02:00
root
33dfabd940 #237 removing ? more info ? 2016-09-12 14:18:14 +02:00
Rowan Wookey
9f777ed47b Fixed #245 error when checking for passwordless accounts on MySQL < 5.5 2016-09-03 15:11:09 +01:00
root
401cb549e8 Removing warnings for SQL request 2016-08-31 13:48:01 +02:00
root
a067eddb20 Tidyfy code 2016-08-31 10:30:20 +02:00
root
746f5d3a4d Changing version in test for displaying false positive CVE messages 2016-08-31 10:26:39 +02:00
root
94c56dad3f False CVE detection for mysql 5.50 #235 adding info message 2016-08-31 09:17:03 +02:00
root
3820a528ed Merge branch 'master' of https://github.com/major/MySQLTuner-perl 2016-08-31 09:05:35 +02:00
root
6bcd5ae0ce Update vulnerabilies list
InnoDB buffer pool alignment check appears backward #244
2016-08-31 09:04:48 +02:00
Christian Loos
0cd7e93685 fix "Don't modify $_ in list functions" 2016-08-30 18:26:08 +02:00
Christian Loos
600aad227d get_file_contents calls already remove_cr 2016-08-30 18:26:08 +02:00
Christian Loos
1c13c66e36 improve message if JSON isn't installed 2016-08-30 18:26:08 +02:00
Christian Loos
7215e419df fix 'Expression form of "eval"' 2016-08-30 18:26:08 +02:00
Christian Loos
90e8251523 fix 'Bareword file handle opened' 2016-08-30 18:26:08 +02:00
Christian Loos
f3e3b39023 fix 'Nested named subroutine' 2016-08-30 18:26:08 +02:00
root
a7062ad804 #196 misplaced semi column 2016-08-30 17:03:21 +02:00
root
3f19d63833 #242 adjust test for unitialized value 2016-08-30 14:57:09 +02:00
root
1b068ed7e4 #242 adjust test for unitialized value 2016-08-30 14:56:59 +02:00
root
b94d3bd927 #196 correct variable name
increment version number
2016-08-30 14:48:48 +02:00
root
aa1df95ff3 #155 adding test for consistent values for innodb_buffer_pool_size,innodb_buffer_pool_chunk_size and innodb_buffer_pool_instances 2016-08-30 14:38:16 +02:00
root
7554f10e52 #196 better thread cache hit rate with pools-of-threads 2016-08-30 13:45:46 +02:00
root
8f33b55fea #242 initiliaze $data_free to 0 if not defined or is empty 2016-08-30 13:34:52 +02:00
root
dbbe785e01 #231 #235 bug fix regarding way CVE are selected. 2016-08-29 17:10:26 +02:00
root
736fc24c47 increment version 2016-08-26 11:02:15 +02:00
root
11ccfccc1c #235 #231 review way to select version
bug fix in calculate greater and lower version
2016-08-26 10:40:58 +02:00
root
8e8345dac3 Update vulnerabilities list
issue #237: Test skip_name_resolve is set before using it
Adding information message  when skip_name_resolve is missing
2016-08-25 16:33:58 +02:00
Peter 'Pessoft' Kolínek
70455de4ba Fix SQL string concatenation in capitalization during password test 2016-08-24 00:21:18 +02:00
root
ef1f96625a #231 change label for CVE reports 2016-08-10 13:40:58 +02:00
root
24f1c722d3 Don t display advice for tcp slot if /proc/sys/sunrpc file doesn t exist #230 2016-08-10 11:48:41 +02:00
root
2aac89e89c Don t display advice for tcp slot if /proc/sys/sunrpc file doesn t exist #30 2016-08-10 11:47:36 +02:00
root
6300c3a2c7 Adjust request for table without primary key #229 2016-08-10 11:44:22 +02:00
root
97587f6d2f Adding a lot of things in JSON structure 2016-08-09 16:04:13 +02:00
root
b3005038d3 Removing some warnings and errors messages when sysctl doesnt get any value 2016-08-09 13:38:47 +02:00
root
da1819d66b Bug fix for exec fail 2016-08-09 10:15:49 +02:00
root
b42b97f96f #227 Stopping MySQL tuner when SELECT VERSION doesnt return any value. This indicates that user doent get enough privileges 2016-08-08 17:40:53 +02:00
Grzegorz Adam Kowalski
a9f9e69201 Don't exit after positive latest version check 2016-07-13 12:58:30 +02:00
root
51993aa2c8 wsrep_osu_method error #224 2016-07-04 08:41:16 +02:00
root
5af540cab0 #223 removing version estension for Ubuntu version - V2 2016-06-23 21:30:22 +02:00
root
4ea5c09d44 #223 removing version estension for Ubuntu version 2016-06-23 21:28:26 +02:00
root
0b8dfd9f66 Merge branch 'master' of https://github.com/major/MySQLTuner-perl 2016-06-16 11:07:38 +02:00
root
638e843d49 Removing strange code blocks :) 2016-06-16 11:07:32 +02:00
Louis Sautier
e450074254
Reword a message 2016-06-16 10:33:03 +02:00
mhasbini
d148093634 no need to return, just exit 2016-06-11 16:36:59 +00:00
mhasbini
2db1483123 switch version check with mysql_setup 2016-06-11 16:19:55 +00:00
root
cf75be4c84 Tokudb detection fix #218 2016-06-10 10:27:55 +02:00
root
16c94a51ba uninitialized value in script #218 2016-06-10 10:24:40 +02:00
root
0b534333b2 Update vulnerabilities list
Update mysql tuner version
Update internals documentation
2016-06-10 10:18:21 +02:00
Kevin Houdebert
b479d9aede Fix typo for OPTIMIZE 2016-06-03 15:54:52 +02:00
root
5bcddc77b8 #213 changing badprint to print in order to display error message when JSON module is not loaded 2016-06-03 11:03:52 +02:00
jfcoz
b0848e5cc5 add skip-name-resolve recommandation 2016-06-03 08:33:02 +02:00
jfcoz
2a8cf5fea6 add innodb when innodb_file_per_table is ON
display OPTIMIZE requests for tables of more than 100mb with more thant 10% fragmentation

    Run OPTIMIZE TABLE to defragment tables for better performance
      OPTIMZE TABLE testdb.price; -- can free 496 MB
      OPTIMZE TABLE testdb.mail; -- can free 5704 MB
      OPTIMZE TABLE testdb.basket; -- can free 20 MB
    Total freed space after theses OPTIMIZE TABLE : 6220 Mb
2016-06-02 09:40:42 +02:00
Jean-Marie Renouard
7dabf27c91 Merge pull request #210 from smutel/patch-3
Avoid deprecated message from perl
2016-05-20 00:32:24 +02:00
smutel
e14ddff904 Avoid deprecated message from perl
Use of implicit split to @_ is deprecated at /tmp/mysqltuner.pl line 3243 (#1)
    (D deprecated, W syntax) It makes a lot of work for the compiler when you
    clobber a subroutine's argument list, so it's better if you assign the results
    of a split() explicitly to an array (or list).
2016-05-19 17:10:48 +02:00
smutel
1048038e64 Avoid bad syntax error message
Error below when executing the script on RHEL6/OL6:
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.8/FAQ
2016-05-19 17:06:12 +02:00
smutel
b2aea7f69d Update mysqltuner.pl 2016-05-19 13:47:46 +02:00
smutel
8e9cc50311 Exclude innodb engine from fragmented tables 2016-05-19 13:44:50 +02:00
Ian Gregory
7c1d5521ed Improve portability when fetching process memory - use ps rather than the proc filesystem 2016-05-10 10:34:30 +01:00
root
a7cd64a4c7 Increment version number 2016-05-09 10:17:14 +02:00
root
959a41b708 #204 updater works fine with curl now 2016-05-04 17:44:05 +02:00
root
f6f66a49ef #196 comment thread_cache_size recommandations 2016-04-29 14:25:16 +02:00
root
bead8a77ef Adding this message for <=5.1 version
No more password checks for MySQL version <=5.1
MySQL version <=5.1 are deprecated and end of support.
2016-04-29 14:19:46 +02:00
root
2e2d945e63 Fix #190 changing typo for recommandations on multiprocessor 2016-04-29 14:01:15 +02:00
root
1727a42b29 Fix #195 single quote enclosed password 2016-04-29 13:46:52 +02:00
jkavalik
92dc77e4cd Fix for #197
Merge GLOBAL status after SESSION - the non-global variables (like Percona from #184) will be present but stats are computed from GLOBAL counters which overwrite the SESSION ones if they exist.
2016-04-29 12:56:24 +02:00
Vadym Chepkov
ae0ab4bcff fixed wsrep_cluster_size handling
garbd node can be configured in galera cluster. wsrep_cluster_size includes the garbd node, but it is not listed in wsrep_cluster_address, since it does not participate in the replication.
2016-04-27 06:42:50 -04:00
Vadym Chepkov
7251a85234 fixed spelling 2016-04-22 11:26:00 -04:00
root
9b3549a92c #184 minor fix xtrabackup is the good alternative 2016-04-21 23:19:36 +02:00
root
c59a852a03 minor addition for sys schema #193 2016-04-21 23:16:35 +02:00
root
560b45894b #184 minor fix due to error message 2016-04-21 09:08:20 +02:00
root
737628dd1b Vulnerabilities list updated
#190 Query cache must be activated in MariaDB 10.1
#184 bug fix on messages
#184 xtrabackup support when wsrep_sst_method is starting by xtrabackup
2016-04-21 09:06:13 +02:00
root
fa1639e418 Tidify code 2016-04-19 16:19:31 +02:00
root
5b55c92ac5 #184: Additional information for galera
Removing dependency to Env module #192
2016-04-19 16:11:35 +02:00
root
a8babd7e69 Merge branch 'master' of https://github.com/major/MySQLTuner-perl 2016-04-19 16:04:13 +02:00
root
b67bba859f adding extra information about wsrep cluster size #184 2016-04-19 16:03:42 +02:00
Sergei A Mamonov
bc2017ba3e change external which to sub which(), little fix for use get_http_cli and get external ip via wget 2016-04-18 17:45:34 +03:00
root
80def03923 #187 enforce control over P_S activation 2016-04-18 11:07:05 +02:00
root
86ad610b6c #189 fix memory calculation when Galera is disabled 2016-04-18 10:59:50 +02:00
Jean-Marie RENOUARD
612eea48fd All version for galera checks #150 2016-04-15 10:17:56 -04:00
Jean-Marie RENOUARD
76a28ab29a Adding typo fixes
Adding check for memory with other process
2016-04-15 06:33:05 -04:00
Jean-Marie RENOUARD
e4a2534349 Merge branch 'master' of https://github.com/major/MySQLTuner-perl 2016-04-15 05:16:06 -04:00
root
66a57af80b #182 using abs value for result 2016-04-14 23:11:18 +02:00
root
ba584c91cc Update version #183 2016-04-14 22:49:21 +02:00
root
0ffe9507b6 #187 #183 removing unitialized variables code
#184 adding merge between show global variables and show global variables
#184 update RPM template'
2016-04-14 22:42:59 +02:00
Ricardo Velhote
eea101019e Detect Ubuntu correctly when checking for OS Release 2016-04-13 14:39:40 +01:00
Jean-Marie RENOUARD
5fd8432bb6 Merge branch 'master' of https://github.com/major/MySQLTuner-perl 2016-04-11 13:05:38 +02:00
Jean-Marie RENOUARD
709da2cc95 ident fix 2016-04-11 12:25:42 +02:00
Jean-Marie RENOUARD
d8a8dd42d3 ident fix 2016-04-11 12:24:49 +02:00
root
845dc030e1 Using a generic sub header function
get_pf_memory return 0 for performance memory if P_F is disabled.
2016-04-11 12:01:01 +02:00
Robert Milasan
8f0c2e6b33 Fix Galera checks, make sure we dont say that Galera is enabled when is not, clean-up typos 2016-04-06 10:33:56 +02:00
Jean-Marie RENOUARDjmrenouard@gmail.com
15854a6c94 #138 for threadpool in mariadb and percona use default values 2016-04-05 12:34:24 -04:00
Jean-Marie RENOUARDjmrenouard@gmail.com
83010dd32e Bug fix on aria metrics 2016-04-05 12:25:20 -04:00
Jean-Marie RENOUARDjmrenouard@gmail.com
a5449a0d22 Adding performance_schema.memoty value to max_used_memory and max_peak_memory calculation
There is always MySQL 5.7+ and adaptaive memory usage to handle porperly
2016-04-05 11:40:38 -04:00
Jean-Marie RENOUARDjmrenouard@gmail.com
97cce402ae Adding get_http_cli for curl or wget detecting in sysstat 2016-04-05 09:49:43 -04:00
Jean-Marie RENOUARDjmrenouard@gmail.com
974bd03ddf Adding new control for Galera cluster #150 2016-04-05 05:16:52 -04:00
Jean-Marie RENOUARDjmrenouard@gmail.com
2d483e6b75 Check tables are all innodb table and check all table gets pk #150 2016-04-04 12:32:35 -04:00
Jean-Marie RENOUARDjmrenouard@gmail.com
3ef98d83c1 Dumping mysql options for galera* #150 2016-04-04 11:30:16 -04:00
Jean-Marie RENOUARDjmrenouard@gmail.com
8203dcd686 Dumping galera options and status #150 2016-04-04 11:23:43 -04:00
Christine
c9cea2cc80 #177 bug with free -h changed to free -mwq 2016-04-04 13:58:52 +02:00
Christine
292cbfedad Adding some sysctl control in sysstat mode 2016-04-04 12:12:09 +02:00
Jean-Marie Renouard
0cdc7f53ca Merge pull request #179 from mrqwer88/fix_mount_output
fix mount point output for linux
2016-03-30 17:19:37 +02:00
root
c74d51e065 system information are only available with --sysstat #165 2016-03-30 17:16:16 +02:00
Sergei A Mamonov
ff796b48bf fix mount point output for linux 2016-03-30 15:59:47 +03:00
Sergei A Mamonov
45c468f324 add fixes to get_os_release for debian 6/7/8 2016-03-30 14:44:30 +03:00
root
d3a2d83d7d Just a simple perltidy to cleanup ident in the code. 2016-03-29 14:22:45 +02:00
Jean-Marie Renouard
8414de8a4d Merge pull request #176 from robertalks/master
Fix is_virtual_machine function return, drop ENV{'HOSTNAME'} for host…
2016-03-29 13:57:57 +02:00
Robert Milasan
cb5a1c528e Fix is_virtual_machine function return, drop ENV{'HOSTNAME'} for hostname cmd, some machines don't have HOSTNAME set 2016-03-29 09:51:48 +02:00
amq
94ee62a6e0 Fix grammar 2016-03-29 01:27:41 +02:00
root
a010416b93 Adding lot of system indicators #165 2016-03-25 16:22:07 +01:00
root
3f8ca6493e Adding disk space and inode control other fs mountpoint #165 2016-03-25 14:32:15 +01:00
root
c9ebae1e26 #166 removing test when plugin is unix_socket or win_socket
Support for bug https://bugs.mysql.com/bug.php?id=80860
2016-03-25 11:57:35 +01:00
DutchProgrammer
031898858b fix for perl 5.10 and 5.8 2016-03-24 23:58:48 +01:00
DutchProgrammer
5faf456d77 fix for perl 5.10 and 5.8 2016-03-24 23:56:45 +01:00
DutchProgrammer
2d4afc2e82 fix for perl 5.10 and 5.8 2016-03-24 23:41:30 +01:00
DutchProgrammer
774dbd8914 fix for perl 5.10 and 5.8 2016-03-24 23:31:52 +01:00
DutchProgrammer
5fb8e3dec7 fix for perl 5.10 and 5.8 2016-03-24 23:23:31 +01:00
DutchProgrammer
6c280de32f Added GetOptions check if fails show help
Added verbose mode
2016-03-24 22:48:07 +01:00
DutchProgrammer
5c9f9952aa added update version functionality 2016-03-24 21:20:48 +01:00
DutchProgrammer
ae9bbe405b added version update functionality 2016-03-24 21:17:34 +01:00
DutchProgrammer
58807c135f inconsistent performance schema info #167 2016-03-24 19:47:59 +01:00
DutchProgrammer
9c87b5266f v1.6.9 2016-03-24 18:36:49 +01:00
DutchProgrammer
0be6ebb626 fix the build fail 2016-03-24 14:25:12 +01:00
root
10a5ad0fdb Fix message for #164 issue 2016-03-24 10:21:02 +01:00
root
84d108bc70 Broken code fixed 2016-03-23 16:35:59 +01:00
root
30b7f2e52c #164 removing by default check for 10 opened ports. option maxallowedport added for this case. 2016-03-23 16:33:02 +01:00
root
95c1397289 #163 removing by default banned port 443,80, 8080,8443 and let bannedports managed this case. 2016-03-23 16:18:36 +01:00
Jean-Marie RENOUARD
8271d9d4c2 Merge branch 'master' of https://github.com/major/MySQLTuner-perl 2016-03-23 12:20:28 +01:00
Christine
18941ae560 Advanced dbstat for collation and charset 2016-03-22 17:56:08 +01:00
Christine
fb53fa4efc Adding extra information on collation in dbstat 2016-03-22 16:36:04 +01:00
Christine
47ffb270d9 Typo fix 2016-03-22 15:35:00 +01:00
Christine
ffed6a3715 Adding threadpool information #138 2016-03-22 15:20:18 +01:00
Christine
200d091362 Adding system recommandations for banned ports and memory used by other process 2016-03-22 14:44:01 +01:00
Christine
805651d44b Fix bug on index selectivity from mariaDB
Adding type in index summary
2016-03-22 09:54:26 +01:00
Christine
1ffee5606a Adding banned port option to detect banned ports 2016-03-21 17:41:14 +01:00
Christine
42b09f83ab Adding system recommandations based on open port
trying to detect local vulnerabilities.csv
2016-03-21 17:11:20 +01:00
Christine
216885c30e Support user parameter alone
Support advanced debug for access denied issue
2016-03-21 15:51:16 +01:00
Jean-Marie RENOUARD
0bc46fbc9b Merge branch 'master' of https://github.com/major/MySQLTuner-perl 2016-03-21 15:28:25 +01:00
root
f3805a1eba Changing engine list after 5.5 2016-03-16 18:40:44 +01:00
root
c0be38eb89 Query cache should be disabled #159 2016-03-16 16:53:30 +01:00
Jean-Marie RENOUARD
9d7b7e11da Null commit 2016-03-15 10:14:31 +01:00
root
c5b458ec80 Ticket #156: removing FULLTEXT index 2016-03-14 12:10:35 +01:00
marklahn
2a96375fa8 TX and RX now shows value in K/M/G, rather than K/M/B 2016-03-02 15:12:38 +00:00
root
6dae07a921 #146: Correct write effiency calculation based on log writes 2016-02-24 20:20:48 +01:00
root
09383daee8 #156: Removing index stat dur to erronous information 2016-02-24 19:57:55 +01:00
Mohammad
65bc055bf1 #87 small fixes for windows porting 2016-02-20 18:31:17 +02:00
Mohammad
ffbab547a1 #87 change password single quote to double quote and small fixes 2016-02-20 18:07:19 +02:00
Mohammad
15333e4a58 #87 change password single quote to double quote and small fixes 2016-02-20 18:05:33 +02:00
Mohammad
6c939906dd #87 password single quote to double quote 2016-02-20 18:01:30 +02:00
root
b33a39144d Adding windows memory calcuclations 2016-02-16 16:29:47 +01:00
M. Hasbini
b273998483 \t -> 4 spaces 2016-02-14 02:24:36 +02:00
mhasbini
69ffbc7126 Fixed asking for username/password when it's already passed. 2016-02-13 23:57:16 +00:00
Jean-Marie Renouard
8a0af4bb6f #87 unlock windows restriction 2016-01-28 10:12:33 +01:00
Jean-Marie Renouard
2a0d6395fb Title Aligment 2016-01-27 19:34:05 +01:00
Jean-Marie Renouard
6a818d66f8 Adding section for ThreadPool Mariadb stat 2016-01-27 19:00:27 +01:00
Jean-Marie Renouard
d0c75b9a3e Removing annoying message in mysql 2016-01-27 17:22:49 +01:00
Jean-Marie Renouard
d777099a59 Adding JSON code to dump result (Issue #123)
Adding Empty Section for Galera #150
Adding Empty Section for TokuDB #149
2016-01-27 14:50:29 +01:00
root
b8c5adb4cc Modified version for RPM packaging 2016-01-06 01:17:05 +01:00
root
c9b647753c Adding CVE detection support 2016-01-06 00:57:34 +01:00
Tom Mettam
9c09e9556e Don't treat connections to 127.0.0.1 as remote 2015-12-29 13:55:53 +00:00
Stephan Großberndt
0c9abcada1 Fix several typos 2015-12-10 11:52:39 +01:00
root
e7b40b87a1 Support for Password security on MySQL 5.7 2015-12-08 16:58:16 +01:00
Christian Loos
11a8110922 fix dependency check for Text::Template
fixes #133 and #136
2015-11-23 08:40:00 +01:00
Christian Loos
66d132cd4b always load Data::Dumper
Data::Dumper is in core sice Perl 5.005, so set a minimum Perl
dependency and always load Data::Dumper.
2015-11-23 08:14:28 +01:00
Christian Loos
2a8e12db63 whitespace fixes 2015-11-23 08:08:25 +01:00
Dan Shepherd
3d2ceeb859 Update mysqltuner.pl
Fixed grammar issues in some of the messages.
2015-11-13 14:54:24 +00:00
Jean-Marie Renouard
7c72b1096b Adding code to check if module are installed. 2015-11-13 00:15:58 +01:00
Jean-Marie Renouard
9d22307754 Adding code to check if module are installed. 2015-11-13 00:14:12 +01:00
Jean-Marie Renouard
02c952c03c Adding error message when Windows OS is detected 2015-11-12 23:55:14 +01:00
Greg Roach
d220a9ac79 Detect CYGWIN 2015-11-10 11:48:25 +00:00
Jean-Marie Renouard
cd7dc15ed8 Merge pull request #131 from BrianDurham/master
Update 'There is not basic password file list' message
2015-10-09 11:19:31 +02:00
Jean-Marie RENOUARD
bdd4331d02 Issue #130: Missing s in total_aria_indexes calculation 2015-10-09 11:14:39 +02:00
Brian Durham
1335b44c8b Update 'There is not basic password file list' message 2015-09-27 02:25:12 -05:00
Jean-Marie Renouard
fa5a006240 Merge pull request #128 from ravage84/patch-2
Change anonymous account recommendation to plural
2015-09-17 07:07:17 +02:00
Jean-Marie Renouard
3aaa3e8872 Merge pull request #129 from ravage84/patch-3
Improve wording
2015-09-17 07:07:05 +02:00
Marc Würth
eee95c09cb Improve wording
At first, I didn't get what this line tried to tell me and it seems I'm not the only person:
https://www.google.ch/search?hl=de&q=%22Reduce+your+SELECT+DISTINCT+queries+without+LIMIT+clauses%22&gws_rd=ssl
2015-09-16 18:17:54 +02:00
Marc Würth
a31ea3cda5 Change anonymous account recommendation to plural 2015-09-16 18:11:42 +02:00
Marc Würth
a64d10458c Remove double space 2015-09-16 18:09:10 +02:00
Jean-Marie RENOUARD
8d98ead4f0 Issue #124: bug fix with noask password handling... from issue #110 patch 2015-09-07 11:29:20 +02:00
Jean-Marie RENOUARD
01ba5af0ea Issue #121: Removing lost+found from dblist 2015-09-02 15:40:57 +02:00
Jean-Marie RENOUARD
f7f2754504 Issue #121: setting value when value is NULL 2015-09-02 14:48:48 +02:00
Jean-Marie RENOUARD
37fbf86180 Issue #121: removing lost+found from dblist to explore 2015-09-02 14:13:49 +02:00
Jason Scalia
55e5b38a1f Correct typo regarding Perl License
(iteself -> itself)
2015-08-30 17:24:39 -04:00
Jan Ingvoldstad
848e70f55a Minor typo fixed in usage() 2015-08-27 11:13:44 +02:00
Jean-Marie RENOUARD
f06212d18f Adding a HTML report system with a default template engine based on Text::Template 2015-08-26 15:23:19 +02:00
Jean-Marie RENOUARD
e2182f17b0 output fix 2015-08-25 17:00:06 +02:00
Jean-Marie RENOUARD
2d02c583e3 Adding version check features
Issue #33 #95: checkversion option is now available
2015-08-25 16:15:54 +02:00
Jean-Marie RENOUARD
504aee51a6 Isse #108 Abort mysqltuner when auto-vertical-output is set in dafaults 2015-08-25 14:07:13 +02:00
Jean-Marie RENOUARD
82804c11da Issue #117 and #118: Rollback on #108 fix. 2015-08-25 10:45:39 +02:00
Jean-Marie RENOUARD
60e5490167 Issue #117 and #118: Rollback on #108 fix. 2015-08-25 10:17:12 +02:00
Jean-Marie RENOUARD
ff5f5c4d28 Issue #118: Removing auto-vertical-output for MySQL <5.5 2015-08-24 18:42:19 +02:00
Jean-Marie RENOUARD
bf17735e51 Issue ##108 Adding --auto-vertical-output=false 2015-08-24 10:32:56 +02:00
Jean-Marie RENOUARD
3f78587411 Merge branch 'master' of https://github.com/major/MySQLTuner-perl 2015-08-24 10:00:28 +02:00
Jean-Marie RENOUARD
a54c7233e8 Isse #110: No asking password option --noask 2015-08-24 10:00:10 +02:00
Jean-Marie RENOUARD
111a4a3776 Correct return code in case of invalid login or missing data 2015-08-24 09:58:52 +02:00
Jean-Marie RENOUARD
7c51a70b36 Issue #113: Typo fix
Issue #111: MariaDB 10 and 11 as supported version
Issue #109: Ne line at the end of help display
2015-08-24 09:51:03 +02:00
Daniel Black
2da87e05a5 A user with a plugin isn't the same as an empty password 2015-08-24 17:33:41 +10:00
Jean-Marie RENOUARD
a00628d869 Travis test 2015-08-19 18:27:41 +02:00
Jean-Marie RENOUARD
c83a07139c Adding travis information
typo fix
2015-08-19 18:25:25 +02:00
Jean-Marie RENOUARD
e15755489e Pertidy code + rearrange ocde 2015-08-19 14:45:24 +02:00
Jean-Marie RENOUARD
809d6003eb Issue #104 /proc/meminfo is not language specific. 2015-08-19 09:51:22 +02:00
Jean-Marie RENOUARD
7497c4732e Adding information about checks perform by MySQLTuner 2015-08-18 18:37:59 +02:00
Jean-Marie RENOUARD
1e7e9dd372 Merge branch 'master' of https://github.com/major/MySQLTuner-perl 2015-08-18 13:48:18 +02:00
Jean-Marie RENOUARD
6d3e66415b issue #98 Fix variable name bug for 32 bits systems 2015-08-18 13:47:18 +02:00
Jean-Marie Renouard
e86ff569a9 Merge pull request #105 from denji/master
Retrieve ariadb tuning information
2015-08-18 12:27:06 +02:00
Jean-Marie RENOUARD
9470d56e6a Issue #103: Innodb buffer pool instances can t be adjust to a value grea value greater than 64 2015-08-18 12:07:43 +02:00
Jean-Marie RENOUARD
99fd9002a8 Issue #104: Change Linux memory and swap grabbing information 2015-08-18 11:41:20 +02:00
Jean-Marie RENOUARD
63fc929fa7 Issue #101 2015-08-17 18:31:14 +02:00
Jean-Marie RENOUARD
4bd54a4f0e Debug print output for memory 2015-08-17 18:17:15 +02:00
Jean-Marie RENOUARD
b10924a682 Slave replication test issue #99 and issue #100 2015-08-17 18:10:10 +02:00
Jean-Marie RENOUARD
9d204179cf Issue #80 2015-07-22 23:28:09 +02:00
Jean-Marie RENOUARD
8adfe144df Advanced code for Issue #80 2015-07-22 22:13:48 +02:00
Jean-Marie RENOUARD
3d0e8579a7 Issue #96 2015-07-22 21:21:11 +02:00
Jean-Marie RENOUARD
67b91966e0 Issue #96 2015-07-20 09:57:04 +02:00
Jean-Marie RENOUARD
6ad5b60ec6 Issue #94 2015-07-20 09:46:48 +02:00
zinga
c8872380fb Quick mod to add Aria storage engine support
Conflicts:
	mysqltuner.pl
2015-07-16 19:40:58 +03:00
Jean-Marie RENOUARD
78680600cb Start solving issue #80 2015-07-16 17:14:42 +02:00
Jean-Marie RENOUARD
60ab76b80d adding debug message for normal client 2015-07-15 18:21:51 +02:00
Jean-Marie RENOUARD
2584a3192a PR #39 and PR #50 2015-07-15 16:58:18 +02:00
Jean-Marie RENOUARD
1bb1489141 Change shebang 2015-07-15 15:58:20 +02:00
Jean-Marie RENOUARD
1bb24f0228 Issue #90 2015-07-15 11:09:51 +02:00
Jean-Marie RENOUARD
9c74f465e1 Merge remote branch 'upstream/master' 2015-07-15 11:06:23 +02:00
Jean-Marie RENOUARD
3bc179fa2d last changes 2015-07-15 11:06:21 +02:00
Joe Ashcraft
5b3c2478eb correct spelling 2015-07-13 10:37:20 -05:00
Jean-Marie RENOUARD
5d7f28b8ba Removing Data::Dumper dependency and increment version number 2015-07-13 17:08:40 +02:00
Jean-Marie RENOUARD
2a80802764 Adding check for percentage used buffer pool 2015-07-13 16:58:24 +02:00
Jean-Marie RENOUARD
505922b1bb Fix #83 efficiency calculations values for write/read innodb buffer 2015-07-13 16:18:25 +02:00
Jean-Marie RENOUARD
f597b26b7c port all request on select_one and select_array subroutines 2015-07-13 16:00:11 +02:00
Jean-Marie RENOUARD
457766e090 adding replication tests for detecting master and slave stop status 2015-07-13 15:54:44 +02:00
Jean-Marie RENOUARD
251323fcba issues/76 2015-07-10 15:35:18 +02:00
root
43f3fa21e9 Add man page on RPM packaging
fix a dependencies issue with mysql
2015-07-02 22:06:43 +02:00
root
70687a62be Adding metrics on worst selectivity index and unused indexes
--idxstat option is needed to activate this features
2015-07-02 16:42:53 +02:00
root
43fd15f00d Adding options --idxstat and selectivity index request 2015-07-02 12:16:02 +02:00
root
044f7c52c6 Adding information about Max and Reached memory for MySQL process. 2015-07-02 00:19:28 +02:00
root
ea93fe3116 Adding read/write innodb buffer efficiency indicators. 2015-07-01 21:07:58 +02:00
root
731fe6908d Adding preconisations on binlog cache and Aborted connections 2015-07-01 16:27:57 +02:00
root
4121ed73fd Bug fixes with POD documnetation 2015-07-01 13:39:16 +02:00
root
6b1b44bd52 Bug fixes with POD documnetation
Adding USAGE.md documentation from POD documentation
2015-07-01 13:33:57 +02:00
root
59ae681265 Adding POD documnetation 2015-07-01 12:31:40 +02:00
root
55886e0f66 Reorder buffers info display for innodb 2015-07-01 11:14:55 +02:00
root
4b03677724 Merged with upstream 2015-06-19 14:02:23 +02:00
root
a862f3607a Issue #79: incorrect mesage 2015-06-19 10:52:06 +02:00
root
3b183ab148 Adding option --dbstat to display database information 2015-06-19 10:39:35 +02:00
root
6c3197eb89 build system with basic password file embedded. 2015-06-18 23:40:12 +02:00
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
Major Hayden
4a5a4a3d66 Switch 'Go' to just 'G' 2015-06-18 10:58:14 -05: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
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
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
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ä
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
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