Skip to content

Error in MySQL host env var in run command #36

@gunr2171

Description

@gunr2171

This was originally posted on the Docker Hub page by acsandeep. Posting it here as well for more visibility.

The run command in the readme file for Docker 1.9 and up includes

-e DB_HOST=bookstack_db:3306 \

However, the variable only needs the name of the host, not the port. The program appends the port when running, so you end up with a

SQLSTATE[HY000] [2002] Failed to parse address "bookstack_db:3306:3306"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions