Hi!
"zanyfac...@t-online.de" ,
12/08/2023 – 10:11:19 (+0200):
> I have found the problem: /etc/mysql/ was only accessible by root.
Can you remember what the exact right was? On a clean install, it should
be like follow (debian11):
| $ stat /etc/mysql/
| File: /etc/mysql/
| Size: 4096
I have found the problem: /etc/mysql/ was only accessible by root. On Bullseye
that wasn't a problem because I had SysV Init and apparently mariadb was
started as root initially. The upgrade to Bookworm enforced systemd and now
mariadb is started as mysql directly.
Unfortunately, mariadb didn't
# grep -r bind-address /etc/mysql/
/etc/mysql/my.cnf.migrated:# bind-address = 127.0.0.1
/etc/mysql/mariadb.conf.d/60-galera.cnf:#bind-address = 0.0.0.0
/etc/mysql/mariadb.conf.d/50-server.cnf:bind-address= 127.0.0.1
You can see that the other two are commented out.
I a
3 matches
Mail list logo