🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: de.comp.datenbanken.misc
Article #4

Re: Mariadb Debian Forky/Testing

#4
From: Pit Kobel
Date: Sat, 24 Oct 2026 16:29
48 lines
2381 bytes
Stefan Ram <ram@zedat.fu-berlin.de> wrote:
 
> systemctl cat mariadb

Das hat mich zu 

| exec /usr/sbin/mariadbd $MYSQLD_OPTS $_WSREP_NEW_CLUSTER $VAR

geführt. Ein paar Zeilen darüber findet sich

| #MYSQLD_OPTS here is for users to set in /etc/systemd/system/mariadb.service.d/MY_SPECIAL.conf
| # Use the [Service] section and Environment="MYSQLD_OPTS=...".

Gesagt, getan: 

| #cat innodb_log_file_size.conf 
| [Service]
| Environment="MYSQLD_OPTS=innodb_log_file_size=256M"

Das führte zu

| mariadbd[718320]: /usr/sbin/mariadbd: Too many arguments (first extra is 'innodb_log_file_size=256M').

Also wird das File gelesen, aber der mariadbd (oder systemd???) mag das nicht.

 
> sudo grep -rn "innodb_log_file_size" /etc/mysql/

Das hatte ich ziemlich am Anfang schon gemacht. Gibt nur einen Treffer.


>   zur Laufzeit mit "SET GLOBAL innodb_log_file_size =" <Ausdruck> <Semi-
>   kolon> in SQL erhöhen können soll.

Das funktioniert, aber nur bis zum nächsten Neustart.

Ich hatte auch noch probiert, /usr/sbin/mariadbd durch ein Script zu 
ersetzen, das die Parameter in ein file schreibt und dann den 
(umbenannten) mariadbd.real samt Parametern aufruft. Das File bleibt 
leer, dafür:

| mariadbd[719646]: /usr/sbin/mariadbd: Zeile 3: /usr/sbin/mariadbd.real: Keine Berechtigung

Das script war 755:root:root und der umbenannte mariadbd.real auch.


RATLOS
Technical Details
Message-ID: <nk44n4FeddvU1@mid.individual.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <nk3t2oFd551U1@mid.individual.net> <db-20261024153805@ram.dialup.fu-berlin.de>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: Pit Kobel <pkobel@thinkpad.kobel.ovh>
Newsgroups: de.comp.datenbanken.misc
Subject: Re: Mariadb Debian Forky/Testing
Date: 24 Oct 2026 16:29:24 GMT
Lines: 48
Message-ID: <nk44n4FeddvU1@mid.individual.net>
References: <nk3t2oFd551U1@mid.individual.net> <db-20261024153805@ram.dialup.fu-berlin.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
X-Trace: individual.net 9MARFBXNofDvq76aBojqeQeE8we3wCDuIOhMfZmX/9UeuKvV0i
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:G6CH6HoT9mADX9lGCdIpeSy6hqg= sha1:YDfmLg1zHDeo5IepzAtdglyLf+M= sha256:RPRZjX3sZTSRz22c3DxRtcu3+oJjgJSLzrKvl2Nmou0=
User-Agent: tin/2.6.6-20260823 ("Glenlochy") (Linux/7.2.11+deb14-amd64 (x86_64))