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

[BUG]No database connection #2540

Open
Wykkkk opened this issue Jun 10, 2024 · 1 comment
Open

[BUG]No database connection #2540

Wykkkk opened this issue Jun 10, 2024 · 1 comment

Comments

@Wykkkk
Copy link

Wykkkk commented Jun 10, 2024

If you have problems with the installation please use our community forum
i am sure mysql connect is true,i can connect in local and mysql cenots can ping 192.168.8.210 unobstructed
but when i use docker run
docker run -d --restart unless-stopped -p 8076:80 \ -e LEAN_DB_HOST=192.168.8.210 \ -e LEAN_DB_PORT=3306 \ -e LEAN_DB_USER=root \ -e LEAN_DB_PASSWORD=1qazxsw2 \ -e LEAN_DB_DATABASE=leantime \ --name wyk_leantime leantime/leantime:latest

or

docker run -d --restart unless-stopped -p 8076:80 \ -e LEAN_DB_HOST=192.168.8.210:3306 \ -e LEAN_DB_USER=root \ -e LEAN_DB_PASSWORD=1qazxsw2 \ -e LEAN_DB_DATABASE=leantime \ --name wyk_leantime leantime/leantime:latest

i use install prompt No database connection, check your database credentials in your configuration file
Is it because my MySQL library is empty?my leantime is empty

@Wykkkk Wykkkk changed the title [BUG] [BUG]No database connection Jun 10, 2024
@Wykkkk
Copy link
Author

Wykkkk commented Jun 10, 2024

I have tried using MySQL 5.7 \ 8.0 before,but still unable to connect

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

1 participant