Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Error in MySQL host env var in run command #36

Closed
Labels
@gunr2171

Description

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

        AltStyle によって変換されたページ (->オリジナル) /