[debian-mysql] Bug#970681: Bug#970681: Bug#970681: /usr/bin/mytop: mytop fails to start: ‘perl -w’: No such file or directory

Otto Kekäläinen otto at debian.org
Wed Sep 23 13:52:34 BST 2020


Hello!

Just for the record, the perl -w option is to print out warnings and
should not be used in production:

https://manpages.debian.org/buster/perl-base/perl.1.en.html#DIAGNOSTICS
       The "use warnings" pragma produces some lovely diagnostics. One
can also use the -w flag,
       but its use is normally discouraged, because it gets applied to
all executed Perl code,
       including that not under your control.

In 10.5.5 mytop is not using -w anymore. Only mariadb-report and some
test suite scripts and ColumnStore use -w (although ColumnStore is
alpha, so printing warnings there is I guess intentional).


The error "Unknown option: default-character-set" is also fixed in
MariaDB 10.5.5 as the /etc/mysql/mariadb.conf.d/50-client.cnf no
longer defines anything about charsets or utf8mb4 (it relies on the
server to enforce utf8mb4 anyway).



More information about the pkg-mysql-maint mailing list