#1148646 mariadb-server: new version of mariadb server breaks wordpress

Package:
mariadb-server
Source:
mariadb-server
Description:
MariaDB database server binaries
Submitter:
Eric Valette
Date:
2026-09-22 03:15:03 UTC
Severity:
normal
#1148646#5
Date:
2026-09-21 13:44:57 UTC
From:
To:
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...

#1148646#10
Date:
2026-09-22 03:12:06 UTC
From:
To:
Hi!

After filing https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1148689
I just noticed this
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1148646 had also
been filed. They are about the same root cause.

This is a result of
https://salsa.debian.org/mariadb-team/mariadb-server/-/merge_requests/178.

Based on teh crud search
https://codesearch.debian.net/search?q=run%2Fmysql%2Fmysqld&literal=1
the following packages have *some* kind of hard-coded reference to
run/mysql:

aiomysql
ansible
ansible-core
apparmor
asterisk
augeas
boost1.90
boost1.92
ceph
cl-qmynd
collectd
ddnet
debian-edu-install
dico
dovecot
ergochat
firejail
freedombox
ganglia
gnunet
golang-github-go-sql-driver-mysql
golang-github-percona-go-mysql
golang-github-xo-dburl
golang-github-ziutek-mymysql
grass
guix
icingadb
jc
jclic
jupyterhub
kamailio
kdb
kexi
ksystemlog
libdbd-mariadb-perl
libgda5
libnb-platform18-java
libnss-mysql
libreoffice
mariadb
mariadb-connector-java
matomo
monit
monitorix
mycli
mysql-9.7
mysql-connector-python
mysql++
nagios-plugins-contrib
netatalk
oar
openqa
openqa-server
openstack-cluster-installer
openstack-trove
orthanc-mysql
pacemaker
percona-toolkit
php-horde-prefs
php8.4
phpsysinfo
postfixadmin
postgresql-mysql-fdw
prometheus-mysqld-exporter
puppet-module-michaeltchapman-galera
puppet-module-puppetlabs-mysql
puppet-module-voxpupuli-collectd
pure-ftpd
px
pypy3
python-django
python-django-extensions
python-pymysql
python3.13
python3.14
python3.15
racket
rails
refpolicy
resource-agents
rsyslog
ruby-will-paginate
runit-services
rust-diesel
rustc
skeema
snmpsim
solarpowerlog
stunnel
tango
trillian
trufflehog
usql
wait4x
xapian-core
zabbix
zoneminder

WordPress or Mediawiki are not among the results however. Tango is in the list.