Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker Error when browsing to localhost:4040 #4

Open
DemiosVayl opened this issue Dec 8, 2023 · 1 comment
Open

Docker Error when browsing to localhost:4040 #4

DemiosVayl opened this issue Dec 8, 2023 · 1 comment

Comments

@DemiosVayl
Copy link

DemiosVayl commented Dec 8, 2023

I was able to connect to the database server, but couldn't connect to the specified database. Sorry it didn't work out.

This is following step 6 of the github instrutions.

Docker shows all are running
image

Thank you (and sorry for resurrecting the dead)

@kmasaryk
Copy link

Got the same error. After taking a quick look at the lotgd-db container I noticed that it's not actually installing the lotgd db at all. Worse, the sql dump was taken from MariaDB 10.3 but the container is running MySQL 5.6 which isn't compatible with the dump.

Easy enough to fix:

  1. Create a new dir named sql:
    $ mkdir sql
  2. Copy the lotgd.sql file from the logd dir to sql/:
    $ cp logd/lotgd.sql sql/
  3. Update docker-compose.yaml to include the appropriate MariaDB image and also mount the new sql dir so that it automatically processes the dump file and builds the db:
  lotgd-db:
    image: mariadb:10.3
    environment:
      - MYSQL_ROOT_PASSWORD=lotgd
    volumes:
      - ./sql:/docker-entrypoint-initdb.d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants