mriedmann / humhub-docker

Alpine-based PHP-FPM and NGINX HumHub docker-container
MIT License
96 stars 79 forks source link

Following the Quickstart instructions in the README.md fails with a database error #293

Closed larpon closed 1 year ago

larpon commented 1 year ago

https://github.com/mriedmann/humhub-docker#quickstart

Ohh, something went wrong!
SQLSTATE[HY000] [1045] Access denied for user 'root'@'172.17.0.3' (using password: YES)

Output of docker version

 docker version
Client: Docker Engine - Community
 Version:           20.10.21
 API version:       1.41
 Go version:        go1.18.7
 Git commit:        baeda1f
 Built:             Tue Oct 25 18:02:21 2022
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.21
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.18.7
  Git commit:       3056208
  Built:            Tue Oct 25 18:00:04 2022
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.9
  GitCommit:        1c90a442489720eec95342e1789ee8a5e1b9536f
 runc:
  Version:          1.1.4
  GitCommit:        v1.1.4-0-g5fd4c4d
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0
larpon commented 1 year ago

I tried deleting the images and started over, and then using this: docker run -d --name humhub_db -e MYSQL_USER=humhub -e MYSQL_PASSWORD=humhub -e MYSQL_ROOT_PASSWORD=root -e MYSQL_DATABASE=humhub mariadb:10.2