Package: mariadb-server Version: 1:11.8.9+ds-3 Severity: important Upgrading to this mariadb server breaks wordpress. I have the message cannot connect to database while the site was previously working.
To fix I found two solutions: 1) replace localhost by 127.0.0.1 in the wordpress config 2) or create a link in /run : ln -s mariadbd mysqld. Then restarting apache makes the site works again. I guess there are still things that use /run/mysql/mysqld.sock in wordpress... Did not found were... -- System Information: Debian Release: forky/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'stable-security'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 6.18.52 (SMP w/16 CPU threads; PREEMPT) Kernel taint flags: TAINT_OOT_MODULE Locale: LANG=fr_FR.UTF8, LC_CTYPE=fr_FR.UTF8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages mariadb-server depends on: ii debconf [debconf-2.0] 1.5.92 ii galera-4 26.4.27-1 ii gawk 1:5.3.2-1 ii iproute2 7.2.0-1 ii libc6 2.44-1 ii libdbi-perl 1.653-1 ii libgcc-s1 16.2.0-3 ii libpam0g 1.7.0-8 ii libssl3t64 3.6.4-1 ii libstdc++6 16.2.0-3 ii lsof 4.99.4+dfsg-2 ii mariadb-client 1:11.8.9+ds-3 ii mariadb-common 1:11.8.9+ds-3 ii mariadb-server-core 1:11.8.9+ds-3 ii passwd 1:4.19.3-2 ii perl 5.42.3-1 ii procps 2:4.0.7-1 ii psmisc 23.7-2 ii rsync 3.5.0+ds1-3 ii socat 1.8.1.3-2 ii systemd [systemd-sysusers] 262~rc3-1 ii zlib1g 1:1.3.dfsg+really1.3.2-3 Versions of packages mariadb-server recommends: ii libhtml-template-perl 2.97-2 ii mariadb-plugin-provider-bzip2 1:11.8.9+ds-3 ii mariadb-plugin-provider-lz4 1:11.8.9+ds-3 ii mariadb-plugin-provider-lzma 1:11.8.9+ds-3 ii mariadb-plugin-provider-lzo 1:11.8.9+ds-3 ii mariadb-plugin-provider-snappy 1:11.8.9+ds-3 ii pv 1.12.0-1 Versions of packages mariadb-server suggests: pn mariadb-test <none> ii netcat-openbsd 1.238-1 -- debconf information excluded

