Package: mariadb-client Version: 1:10.11.6-0+deb12u1 Severity: normal X-Debbugs-Cc: [email protected]
Dear Maintainer, Recent versions of MariaDB add this line at the beginning of dumps: /*M!999999\- enable the sandbox mode */ When trying to import such a dump with the version of mariadb-client in Debian stable, it fails with this error: Query failed. Rerun with --debug to see any error message. ERROR at line 1: Unknown command '\-'. This article describes the problem in more details: https://gorannikolovski.com/blog/mariadb-import-issue-error-at-line-1-unknown-command -- System Information: Debian Release: 12.7 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 5.15.0-124-generic (SMP w/8 CPU threads) Locale: LANG=C, LC_CTYPE=C (charmap=locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory ANSI_X3.4-1968) (ignored: LC_ALL set to en_US.utf8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: unable to detect Versions of packages mariadb-client depends on: ii debianutils 5.7-0.5~deb12u1 ii libc6 2.36-9+deb12u8 ii libconfig-inifiles-perl 3.000003-2 ii libssl3 3.0.14-1~deb12u2 ii libstdc++6 12.2.0-14 ii mariadb-client-core 1:10.11.6-0+deb12u1 ii perl 5.36.0-7+deb12u1 ii zlib1g 1:1.2.13.dfsg-1 Versions of packages mariadb-client recommends: pn libdbd-mariadb-perl | libdbd-mysql-perl <none> pn libdbi-perl <none> pn libterm-readkey-perl <none> mariadb-client suggests no packages. -- debconf information: perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = "en_US.utf8", LANG = (unset) are supported and installed on your system. perl: warning: Falling back to the standard locale ("C").

