Niels Müller Larsen <aros...@protonmail.com> writes:

> $ doas service mariadb start

service(8) is documented to set the same environment at boot time.
Still, I recommend sh -x.

Check that the /etc/rc.d/mariadb matches
/usr/pkg/share/examples/rc.d/mariadb especially if you don't set
PKG_RCD_SCRIPTS.

It is possible that mariadb expects something to be set up already, that
isn't.   You can

  cd /etc/rc.d
  rcorder * | more

to understand what is started in what order.

Reply via email to