Skip to content

Unknown database error #367

Closed
Closed

Description

@max-tet

The most simple docker install throws this error.

docker run --rm -it ghost:alpine

connect ECONNREFUSED 127.0.0.1:3306

"Unknown database error"

Then, the container exits with code 2.

Activity

  1. yosifkit commented on Jan 25, 2023

    @yosifkit
    Contributor

    Since 5.x, ghost upstream has moved away from sqlite as a supported configuration, so an external database is required.

    There is an example docker-compose file on the Docker Hub readme:
    https://github.com/docker-library/docs/tree/94f25a1ea232fabf717d8871e9d30e691dd06c3a/ghost#-via-docker-stack-deploy-or-docker-compose

  2. locked and limited conversation to collaborators on Jan 25, 2023
  3. converted this issue into a discussion #368 on Jan 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions