Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Unable to use mysql #28

Closed
lpmartineau opened this issue Jul 7, 2019 · 1 comment
Closed

Unable to use mysql #28

lpmartineau opened this issue Jul 7, 2019 · 1 comment

Comments

@lpmartineau
Copy link

Hello,
Thank you for this tool. I really like it and it will come in handy!

I am having an issue using mysql.
I started by cloning your git repo and ran the following:

docker build -t kimai/kimai2:prod --build-arg "TAG=1.0" --rm tags/1.0

In my docker-compose I have:
DATABASE_URL: mysql://kimai:SimpleTestPassword@mysql/kimai

But when I bring things up with docker-compose up I see:
kimai_1 | DATABASE_URL = sqlite:///%kernel.project_dir%/var/data/kimai.sqlite
kimai_1 | Using non mysql DB

Any ideas?

Thank you.

@lpmartineau
Copy link
Author

I found my issue. I had 2x environment: sections. Works fine now.

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

No branches or pull requests

1 participant