Commit graph

542 commits

Author SHA1 Message Date
Jean-Marie RENOUARD
ff2a47e461 Issue #373 Fix for password column on MySQL 5.7 2018-03-19 16:34:41 +01:00
Jean-Marie RENOUARD
f0394b67cc Issue #373 Fix for password column on MySQL 5.7 2018-03-19 16:33:04 +01:00
Jean-Marie RENOUARD
bca1ad849d Change year reference 2018-02-23 16:42:24 +01:00
Jean-Marie RENOUARD
760adf20b5 Latest version has a regression with colored outout #371 2018-02-23 12:34:32 +01:00
Jean-Marie RENOUARD
94f8dad080 Wrong sort order in MySQLTuner report #363 2018-02-22 18:42:32 +01:00
Jean-Marie RENOUARD
35c4200813 Issue #364 2018-02-22 16:58:59 +01:00
Jean-Marie RENOUARD
0e8fcbf52d Issue #369 2018-02-22 16:11:42 +01:00
Jean-Marie RENOUARD
8fda1dc284 Issue #371 2018-02-22 15:35:31 +01:00
Jean-Marie RENOUARD
6d95d8642c Update code, doc and vulnerabilities 2018-02-22 15:29:33 +01:00
Jean-Marie RENOUARD
86b0a1949f Merge branch 'master' of https://github.com/major/MySQLTuner-perl 2018-02-22 15:24:32 +01:00
Jean-Marie RENOUARD
50f3a0d965 Small quotes issue 2018-02-22 15:24:20 +01:00
Jean-Marie Renouard
75f4bc623a
Merge pull request #370 from jsoref/spelling
Spelling
2018-02-22 15:22:30 +01:00
Jean-Marie Renouard
5b2918296f
Merge pull request #367 from martinellimarco/master
Proposed fix for #268
2018-02-22 15:21:01 +01:00
Jean-Marie RENOUARD
13c885a529 Issue #372 2018-02-22 15:18:39 +01:00
Josh Soref
3b76498260 spelling: release 2018-02-18 04:59:50 +00:00
Josh Soref
878de6b7e1 spelling: recommendations 2018-02-18 04:59:38 +00:00
Josh Soref
d714eb9a57 spelling: efficiency 2018-02-18 04:44:13 +00:00
Josh Soref
89027cebe1 spelling: deactivated 2018-02-18 04:43:14 +00:00
Josh Soref
940c25c355 spelling: authentication 2018-02-18 04:41:14 +00:00
Marco Martinelli
06f20b1fbb Proposed fix for #268 2018-02-14 22:40:14 +01:00
Marco Martinelli
9f7a599195 Proposed fix for #268 2018-01-18 07:39:52 +01:00
Jean-Marie RENOUARD
073a6244a5 Update git ignorewq 2018-01-10 15:14:19 +01:00
Jean-Marie Renouard
f530ee787d
Update mysqltuner.pl 2017-12-20 09:33:54 +01:00
Mark Hyde
53cdb0e0b9 Ignore password check for auth_pam_compat plugin
- Users authenticating via auth_pam_compat will use pam for
authentication rather than the mysql password field, so the latter is
expected to be empty.
2017-11-28 13:11:39 +00:00
Wesley Schaft
60660c7d54 Changed gcs.limit to gcs.fc_limit, as there's no gcs.limit parameter. 2017-11-16 09:13:40 +01:00
Thomas Meyer
45c48832c4 Read log file by line
Changes the log file reading from loading the entire file into
memory to reading line by line.
2017-10-05 17:05:20 -07:00
Thomas Meyer
c45ac0925d Determine real log_error path.
Determines real log_error path if mysql variable not set or file
is relative and does not exist in current working directory.
Otherwise return back original value.
2017-09-24 05:45:13 -07:00
Daniel Kolvik
2b7828237d Add support to pass ssl public key to mysql connection. Makes it possible to run against servers only accepting connection over SSL. 2017-09-15 10:53:57 +02:00
Peter 'Pessoft' Kolínek
b5d1650f59 add general recommendation for innodb log file changes
add information to INTERNALS.md about innodb log file to buffer pool ratio
fix buffer pool typos in comments
fix code formatting a bit
2017-09-09 13:22:30 +02:00
Jean-Marie RENOUARD
17fddf2079 Issue #341 debian credentials not overridable from commandline 2017-08-25 11:12:10 +02:00
Jean-Marie RENOUARD
3c3fdcd936 Performance Schema Issue #328 2017-07-31 14:27:15 +02:00
Jean-Marie RENOUARD
d5c4ae85f8 Merge branch 'master' of https://github.com/major/MySQLTuner-perl 2017-07-24 15:12:49 +02:00
Jean-Marie RENOUARD
d82ea42215 Issue Performance Schema Issue #328 2017-07-24 15:12:36 +02:00
Peter 'Pessoft' Kolínek
8d4c50cc2c Fixes calculation and display of ratio between InnoDB log files size and InnoDB buffer pool size 2017-07-11 21:41:09 +02:00
kostya v
52fb453f27 Read the value of wsrep_slave_threads from the right place. 2017-07-10 16:57:15 +03:00
Jean-Marie RENOUARD
77bcb72702 Update vulnerabilities list 2017-07-05 11:51:33 +02:00
Jean-Marie Renouard
b16dfb6254 Merge pull request #330 from vladisalv/master
fixing documentation
2017-06-19 11:37:07 +02:00
Andrew Daugherity
9b2fcd85f0 fix micro version comparison
Both the minor *and* the major versions need to match before checking
the micro version.
2017-06-16 16:25:44 -05:00
Vladislav Toigildin
84c1bbafae refactoring: pod documentation 2017-06-15 21:57:07 +03:00
Vladislav Toigildin
1aec239039 output help message using pod2usage instead duplicating pod documentation in usage() function 2017-06-15 21:52:14 +03:00
Vladislav Toigildin
cb0acfe319 fix: add newlines before pod command paragraph + newline before __END__ 2017-06-15 20:53:20 +03:00
Askar Timirgazin
821de219db Fix for messages about defragmented tables
Schema name must be divided from table name, now both of them joined, so you can't copy-paste recomendations to mysql console.
Was:  OPTIMIZE TABLE `test_db.test_table`; -- can free xx MB
Must: OPTIMIZE TABLE `test_db`.`test_table`; -- can free xx MB
2017-05-23 17:26:20 +03:00
Jean-Marie RENOUARD
8d178444d5 Merge branch 'master' of https://github.com/major/MySQLTuner-perl 2017-05-19 09:36:43 +02:00
Jean-Marie RENOUARD
5fce4fc0ee Adding a note for XtraDB 2017-05-19 09:36:33 +02:00
root
29fb53694e Support column analysis with produre analyse 2017-05-19 02:06:36 +02:00
Jean-Marie RENOUARD
21860fe395 Incorrect suggestion for ratio InnoDB log file size / InnoDB buffer pool size #322 2017-05-17 17:38:17 +02:00
Jean-Marie RENOUARD
f180eae082 Missing argument requirement for cvefile in mysqltuner help #321
Schedule for releases on github #320
2017-05-17 16:50:44 +02:00
Tim Stoop
dbe7ac8818 Fix typos in Index metrics 2017-04-24 22:53:08 +02:00
Jean-Marie Renouard
dda90d669c Default host should be 127.0.0.1 #312 2017-04-21 00:33:20 +02:00
root
dc7ffb01dc bug fix on swappinness to 10 for Galera 2017-04-21 00:19:55 +02:00
root
21af94158d Add quotes #311
Use https instead of http #317
typo, space missing before is #315
2017-04-21 00:13:45 +02:00
謝致邦 (XIE Zhibang)
f4a108c2f6 Disable query cache. 2017-04-19 21:25:45 +08:00
謝致邦 (XIE Zhibang)
2f3832b6f7 The query cache should be disabled in MariaDB 10.1 2017-04-19 20:01:02 +08:00
RENOUARD Jean Marie Ext IMT/OINIS
5cc86c82b5 bad calculation for pct_wkeys_from_mem #303 2017-03-14 18:26:44 +01:00
RENOUARD Jean Marie Ext IMT/OINIS
2e45139751 Merge 2017-03-14 18:23:23 +01:00
RENOUARD Jean Marie Ext IMT/OINIS
596918c3c3 Version 1.7.1 2017-03-14 18:21:19 +01:00
Christoph Hansen
b7e1a99240 Check whether hyperthreading is enabled or not.
Since calculating the recommended value for "wsrep_slave_threads" using the number of physical cores is best practice for Intel CPUs where hyperthreading is activated.
2017-03-13 17:22:05 +01:00
root
e44c29bf23 MErge beetween all staff related to Galera Cluster 2017-03-08 19:18:47 +01:00
Jean-Marie Renouard
9651818d77 Merge branch 'master' into master 2017-03-08 18:55:01 +01:00
Oscar A. Figueroa
24b901363c Bugfix resolve #308 : gcs.fc_factor parameter evaluation and the message report, which referencing wsrep_slave_threads instead. 2017-03-08 11:50:02 +01:00
jfcoz
f61cbce4f8 add checks for wsrep_slave_FK_check and innodb_autoinc_lock_mode when wsrep_slave_threads > 1 2017-03-07 17:53:36 +01:00
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