klesh commented on issue #7833: URL: https://github.com/apache/incubator-devlake/issues/7833#issuecomment-2274873560
> Hi Klesh, I have checked the docker logs and found below details time="2024-08-07T07:51:03Z" level=info msg="no [.env] file, please make sure you have set the environment variable." Version: time="2024-08-07 07:51:03" level=info msg="\x1b[35m/app/core/runner/db.go:154\n\x1b[0m\x1b[31m[error] \x1b[0mfailed to initialize database, got error Error 1049 (42000): Unknown database 'lake'" Are you using the `mysql` service in the `docker-compose.yml` file? If you do, the `lake` database should be created automatically. Or is it a standalone MySQL? if so, create the database and user/pass then update the DB_URL accordingly. > > How set the version in .env . PFA .env file [env.txt](https://github.com/user-attachments/files/16520169/env.txt) What do you mean by version? what version are you referring to? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
