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
Self Contained Binary not connecting to Mysql Database. #736
Comments
@fariatanha2024 could you share more details? .env configurations for example or |
Did anyone created a self contained binary of Laravel project, Where Laravel project connects MySQL database locally? I think remote database can work but local database can't connect. Same project connects with MySQL database with no problem. But after converting it to binary code it can run itself but can't connect MySQL database. Maybe no service it can connect locally, it don't have any access to local service? |
Could you share your setup? |
here is docker compose
This is docker file
And for both docker project the same env Here is the ENV
I tried with many combination. With and without using docker-compose to run it. None of the way can able to connect the Mysql database. |
What happened?
Hello,
I run the self contained binary which has a laravel application
After running it I can see that database is not connecting.
MySQL database is running on my pc but binary app is not getting it.
Build Type
Standalone binary
Worker Mode
Yes
Operating System
GNU/Linux
CPU Architecture
x86_64
PHP configuration
Relevant log output
The text was updated successfully, but these errors were encountered: