Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion bin/pt-archiver
Original file line number Diff line number Diff line change
Expand Up @@ -2489,7 +2489,7 @@ sub get_cxn_params {
$dsn = 'DBI:mysql:' . ( $info->{D} || '' ) . ';'
. join(';', map { "$opts{$_}->{dsn}=$info->{$_}" }
grep { defined $info->{$_} }
qw(F h P S A s))
qw(F h P S A s o))
. ';mysql_read_default_group=client'
. ($info->{L} ? ';mysql_local_infile=1' : '');
}
Expand Down Expand Up @@ -8121,6 +8121,12 @@ short form: -s; type: int

Create SSL MySQL connection.

=item --mysql_ssl_optional

short form: -o; type: int

Disables strict SSL enforcement and makes SSL connection optional.

=item --no-ascend

Do not use ascending index optimization.
Expand Down Expand Up @@ -8708,6 +8714,12 @@ dsn: mysql_ssl; copy: yes

Create SSL connection

=item * o

dsn: mysql_ssl_optional; copy: yes

Disables strict SSL enforcement and makes SSL connection optional

=back

=head1 EXTENDING
Expand Down
14 changes: 13 additions & 1 deletion bin/pt-config-diff
Original file line number Diff line number Diff line change
Expand Up @@ -2039,7 +2039,7 @@ sub get_cxn_params {
$dsn = 'DBI:mysql:' . ( $info->{D} || '' ) . ';'
. join(';', map { "$opts{$_}->{dsn}=$info->{$_}" }
grep { defined $info->{$_} }
qw(F h P S A s))
qw(F h P S A s o))
. ';mysql_read_default_group=client'
. ($info->{L} ? ';mysql_local_infile=1' : '');
}
Expand Down Expand Up @@ -5813,6 +5813,12 @@ short form: -s; type: int

Create SSL MySQL connection.

=item --mysql_ssl_optional

short form: -o; type: int

Disables strict SSL enforcement and makes SSL connection optional.

=item --password

short form: -p; type: string
Expand Down Expand Up @@ -5978,6 +5984,12 @@ dsn: mysql_ssl; copy: yes

Create SSL connection

=item * o

dsn: mysql_ssl_optional; copy: yes

Disables strict SSL enforcement and makes SSL connection optional

=back

=head1 ENVIRONMENT
Expand Down
14 changes: 13 additions & 1 deletion bin/pt-deadlock-logger
Original file line number Diff line number Diff line change
Expand Up @@ -2386,7 +2386,7 @@ sub get_cxn_params {
$dsn = 'DBI:mysql:' . ( $info->{D} || '' ) . ';'
. join(';', map { "$opts{$_}->{dsn}=$info->{$_}" }
grep { defined $info->{$_} }
qw(F h P S A s))
qw(F h P S A s o))
. ';mysql_read_default_group=client'
. ($info->{L} ? ';mysql_local_infile=1' : '');
}
Expand Down Expand Up @@ -5566,6 +5566,12 @@ short form: -s; type: int

Create SSL MySQL connection.

=item --mysql_ssl_optional

short form: -o; type: int

Disables strict SSL enforcement and makes SSL connection optional.

=item --numeric-ip

Express IP addresses as integers.
Expand Down Expand Up @@ -5739,6 +5745,12 @@ dsn: mysql_ssl; copy: yes

Create SSL connection

=item * o

dsn: mysql_ssl_optional; copy: yes

Disables strict SSL enforcement and makes SSL connection optional

=back

=head1 ENVIRONMENT
Expand Down
14 changes: 13 additions & 1 deletion bin/pt-duplicate-key-checker
Original file line number Diff line number Diff line change
Expand Up @@ -873,7 +873,7 @@ sub get_cxn_params {
$dsn = 'DBI:mysql:' . ( $info->{D} || '' ) . ';'
. join(';', map { "$opts{$_}->{dsn}=$info->{$_}" }
grep { defined $info->{$_} }
qw(F h P S A s))
qw(F h P S A s o))
. ';mysql_read_default_group=client'
. ($info->{L} ? ';mysql_local_infile=1' : '');
}
Expand Down Expand Up @@ -5594,6 +5594,12 @@ short form: -s; type: int

Create SSL MySQL connection.

=item --mysql_ssl_optional

short form: -o; type: int

Disables strict SSL enforcement and makes SSL connection optional.

=item --password

short form: -p; type: string
Expand Down Expand Up @@ -5774,6 +5780,12 @@ dsn: mysql_ssl; copy: yes

Create SSL connection

=item * o

dsn: mysql_ssl_optional; copy: yes

Disables strict SSL enforcement and makes SSL connection optional

=back

=head1 ENVIRONMENT
Expand Down
14 changes: 13 additions & 1 deletion bin/pt-find
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ sub get_cxn_params {
$dsn = 'DBI:mysql:' . ( $info->{D} || '' ) . ';'
. join(';', map { "$opts{$_}->{dsn}=$info->{$_}" }
grep { defined $info->{$_} }
qw(F h P S A s))
qw(F h P S A s o))
. ';mysql_read_default_group=client'
. ($info->{L} ? ';mysql_local_infile=1' : '');
}
Expand Down Expand Up @@ -4623,6 +4623,12 @@ short form: -s; type: int

Create SSL MySQL connection.

=item --mysql_ssl_optional

short form: -o; type: int

Disables strict SSL enforcement and makes SSL connection optional.

=item --or

Combine tests with OR, not AND.
Expand Down Expand Up @@ -5161,6 +5167,12 @@ dsn: mysql_ssl; copy: yes

Create SSL connection

=item * o

dsn: mysql_ssl_optional; copy: yes

Disables strict SSL enforcement and makes SSL connection optional

=back

=head1 ENVIRONMENT
Expand Down
14 changes: 13 additions & 1 deletion bin/pt-fk-error-logger
Original file line number Diff line number Diff line change
Expand Up @@ -1540,7 +1540,7 @@ sub get_cxn_params {
$dsn = 'DBI:mysql:' . ( $info->{D} || '' ) . ';'
. join(';', map { "$opts{$_}->{dsn}=$info->{$_}" }
grep { defined $info->{$_} }
qw(F h P S A s))
qw(F h P S A s o))
. ';mysql_read_default_group=client'
. ($info->{L} ? ';mysql_local_infile=1' : '');
}
Expand Down Expand Up @@ -4563,6 +4563,12 @@ short form: -s; type: int

Create SSL MySQL connection.

=item --mysql_ssl_optional

short form: -o; type: int

Disables strict SSL enforcement and makes SSL connection optional.

=item --password

short form: -p; type: string
Expand Down Expand Up @@ -4727,6 +4733,12 @@ dsn: mysql_ssl; copy: yes

Create SSL connection

=item * o

dsn: mysql_ssl_optional; copy: yes

Disables strict SSL enforcement and makes SSL connection optional

=back

=head1 ENVIRONMENT
Expand Down
14 changes: 13 additions & 1 deletion bin/pt-heartbeat
Original file line number Diff line number Diff line change
Expand Up @@ -2991,7 +2991,7 @@ sub get_cxn_params {
$dsn = 'DBI:mysql:' . ( $info->{D} || '' ) . ';'
. join(';', map { "$opts{$_}->{dsn}=$info->{$_}" }
grep { defined $info->{$_} }
qw(F h P S A s))
qw(F h P S A s o))
. ';mysql_read_default_group=client'
. ($info->{L} ? ';mysql_local_infile=1' : '');
}
Expand Down Expand Up @@ -7335,6 +7335,12 @@ short form: -s; type: int

Create SSL MySQL connection.

=item --mysql_ssl_optional

short form: -o; type: int

Disables strict SSL enforcement and makes SSL connection optional.

=item --password

short form: -p; type: string
Expand Down Expand Up @@ -7655,6 +7661,12 @@ dsn: mysql_ssl; copy: yes

Create SSL connection

=item * o

dsn: mysql_ssl_optional; copy: yes

Disables strict SSL enforcement and makes SSL connection optional

=back

=head1 ENVIRONMENT
Expand Down
14 changes: 13 additions & 1 deletion bin/pt-index-usage
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ sub get_cxn_params {
$dsn = 'DBI:mysql:' . ( $info->{D} || '' ) . ';'
. join(';', map { "$opts{$_}->{dsn}=$info->{$_}" }
grep { defined $info->{$_} }
qw(F h P S A s))
qw(F h P S A s o))
. ';mysql_read_default_group=client'
. ($info->{L} ? ';mysql_local_infile=1' : '');
}
Expand Down Expand Up @@ -7326,6 +7326,12 @@ short form: -s; type: int

Create SSL MySQL connection.

=item --mysql_ssl_optional

short form: -o; type: int

Disables strict SSL enforcement and makes SSL connection optional.

=item --password

short form: -p; type: string
Expand Down Expand Up @@ -7678,6 +7684,12 @@ dsn: mysql_ssl; copy: yes

Create SSL connection

=item * o

dsn: mysql_ssl_optional; copy: yes

Disables strict SSL enforcement and makes SSL connection optional

=back

=head1 ENVIRONMENT
Expand Down
14 changes: 13 additions & 1 deletion bin/pt-kill
Original file line number Diff line number Diff line change
Expand Up @@ -2043,7 +2043,7 @@ sub get_cxn_params {
$dsn = 'DBI:mysql:' . ( $info->{D} || '' ) . ';'
. join(';', map { "$opts{$_}->{dsn}=$info->{$_}" }
grep { defined $info->{$_} }
qw(F h P S A s))
qw(F h P S A s o))
. ';mysql_read_default_group=client'
. ($info->{L} ? ';mysql_local_infile=1' : '');
}
Expand Down Expand Up @@ -8756,6 +8756,12 @@ short form: -s; type: int

Create SSL MySQL connection.

=item --mysql_ssl_optional

short form: -o; type: int

Disables strict SSL enforcement and makes SSL connection optional.

=item --print

group: Actions
Expand Down Expand Up @@ -8844,6 +8850,12 @@ dsn: mysql_ssl; copy: yes

Create SSL connection

=item * o

dsn: mysql_ssl_optional; copy: yes

Disables strict SSL enforcement and makes SSL connection optional

=back

=head1 ENVIRONMENT
Expand Down
14 changes: 13 additions & 1 deletion bin/pt-online-schema-change
Original file line number Diff line number Diff line change
Expand Up @@ -2293,7 +2293,7 @@ sub get_cxn_params {
$dsn = 'DBI:mysql:' . ( $info->{D} || '' ) . ';'
. join(';', map { "$opts{$_}->{dsn}=$info->{$_}" }
grep { defined $info->{$_} }
qw(F h P S A s))
qw(F h P S A s o))
. ';mysql_read_default_group=client'
. ($info->{L} ? ';mysql_local_infile=1' : '');
}
Expand Down Expand Up @@ -13439,6 +13439,12 @@ short form: -s; type: int

Create SSL MySQL connection.

=item --mysql_ssl_optional

short form: -o; type: int

Disables strict SSL enforcement and makes SSL connection optional.

=item --preserve-triggers

Preserves old triggers when specified.
Expand Down Expand Up @@ -14161,6 +14167,12 @@ dsn: mysql_ssl; copy: yes

Create SSL connection

=item * o

dsn: mysql_ssl_optional; copy: yes

Disables strict SSL enforcement and makes SSL connection optional

=back

=head1 ENVIRONMENT
Expand Down
14 changes: 13 additions & 1 deletion bin/pt-query-digest
Original file line number Diff line number Diff line change
Expand Up @@ -943,7 +943,7 @@ sub get_cxn_params {
$dsn = 'DBI:mysql:' . ( $info->{D} || '' ) . ';'
. join(';', map { "$opts{$_}->{dsn}=$info->{$_}" }
grep { defined $info->{$_} }
qw(F h P S A s))
qw(F h P S A s o))
. ';mysql_read_default_group=client'
. ($info->{L} ? ';mysql_local_infile=1' : '');
}
Expand Down Expand Up @@ -16207,6 +16207,12 @@ short form: -s; type: int

Create SSL MySQL connection.

=item --mysql_ssl_optional

short form: -o; type: int

Disables strict SSL enforcement and makes SSL connection optional.

=item --order-by

type: Array; default: Query_time:sum
Expand Down Expand Up @@ -16937,6 +16943,12 @@ dsn: mysql_ssl; copy: yes

Create SSL connection

=item * o

dsn: mysql_ssl_optional; copy: yes

Disables strict SSL enforcement and makes SSL connection optional

=back

=head1 ENVIRONMENT
Expand Down
Loading