Package: mariadb-client-10.1 Version: 10.1.23-9+deb9u1 Severity: normal Dear Maintainer,
It shouldn't default to test.. I think this was fixed in the 'other' mytop a long time ago, is this mytop based on an older version? I also think it's a bad idea to echo the password like this. Gr, Olaf $ mytop Unknown option: default-character-set Cannot connect to MariaDB server. Please check the: * database you specified "test" (default is "test") * username you specified "forge" (default is "root") * password you specified "1234" (default is "") * hostname you specified "localhost" (default is "localhost") * port you specified "3306" (default is 3306) * socket you specified "" (default is "") The options my be specified on the command-line or in a ~/.mytop config file. See the manual (perldoc mytop) for details. Here's the exact error from DBI. It might help you debug: Unknown database 'test' -- System Information: Debian Release: 8.8 APT prefers stable APT policy: (500, 'stable'), (1, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)