6 / 6
Nov 2022

HI,
what is the default mariadb root password after a fresh install of egroupware 21.1 via opensuse packages (docker) ?

  • created

    Nov '22
  • last reply

    Nov '22
  • 5

    replies

  • 1.2k

    views

  • 3

    users

  • 1

    link

Hi Francesco.

The credentials for the database are always in
/var/lib/egroupware/header.inc.php

See also:


What do you need it for?

Stefan

I want to connect to the db from outside the container, so I need to change users permissions.

Hmmm…
Better add a user for connecting DB from outside EGw(?).

Stefan

Have a look for /etc/egroupware-docker/mysql.sh, you can copy it to all mysql commands, eg. mysqldump and use it like the command. It reads the root credentials from /etc/egroupware-docker/.env.

If you want to use MariaDB tools from the host, you need to tell docker to bind it to port 3306 on localhost.

Ralf

Hi thanks Ralf, it was exactly what I was looking for.

Yes I binded the port in docker.