mirror of
https://github.com/lldap/lldap.git
synced 2026-04-26 00:36:01 +03:00
[GH-ISSUE #1184] [BUG] Unable to start 0.6.1 with mariadb as db backend. #420
Labels
No labels
backend
blocked
bug
cleanup
dependencies
docker
documentation
duplicate
enhancement
enhancement
frontend
github_actions
good first issue
help wanted
help wanted
integration
invalid
ldap
pull-request
question
rust
rust
tests
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/lldap-lldap#420
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Pierre-Lannoy on GitHub (Jun 3, 2025).
Original GitHub issue: https://github.com/lldap/lldap/issues/1184
Hello!
Describe the bug
Unable to start 0.6.1 with mariadb as db backend.
To Reproduce
Steps to reproduce the behavior:
docker-compose.yml(see content below)docker compose up -dcurl http://127.0.0.1:17170=> Couldn't connect to serverExpected behavior
It should work.
Logs
docker compose logsgives:Additional context
When switching to sqlite, it's working
docker-compose.ymlcontent:@nitnelave commented on GitHub (Jun 3, 2025):
It looks like LLDAP is not able to reach the DB.
Looking at your docker compose, I noticed you used localhost as your DB URL. In docker, that's not going to work, you need the DB container name (lldapdb in your case)
@Pierre-Lannoy commented on GitHub (Jun 3, 2025):
OMG! You're definitely right!
How could I have missed this despite having checked this file 100 times?
Thank you so much for your help and this great piece of work…