We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Unable to connect to DB when running with Laravel Sail
Application launched on Laravel Sail - https://laravel.com/docs/10.x/sail
If I use Tinker from Sail everything works fine
curl -s "https://laravel.build/example-app?with=pgsql,redis" | bash cd example-app sail up
<?php use App\Models\User; echo "123\n\n"; User::all();
Successful connection to the database. Display all users
No response
PhpStorm 2023.2.1
8.2.9
Ubuntu 22.04.3
2.6.1
Docker compose
10.20.0
2.8.1
0.11.20
The text was updated successfully, but these errors were encountered:
Hey! 99.9% sure you are using a local interpreter to reach your docker database. That, indeed, does not work.
Check #250 :)
Sorry, something went wrong.
No branches or pull requests
Short bug description
Unable to connect to DB when running with Laravel Sail
Extended bug description
Application launched on Laravel Sail - https://laravel.com/docs/10.x/sail
If I use Tinker from Sail everything works fine
![image](https://private-user-images.githubusercontent.com/9680621/264322043-4cbf1c3f-1f7e-4f3b-aa00-f992657db2ab.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyODA2NDMsIm5iZiI6MTczOTI4MDM0MywicGF0aCI6Ii85NjgwNjIxLzI2NDMyMjA0My00Y2JmMWMzZi0xZjdlLTRmM2ItYWEwMC1mOTkyNjU3ZGIyYWIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTFUMTMyNTQzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9M2Q4MTkyNzFlOWIyNWJlZTkwNTNjNzcyODQ0NjU1N2E4ZmRkNTBjNTE0Y2QwM2M1YTJjZGIyOWU0YjBhYWExZCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.TS20obkbWJh89st5prZvMCJye42T_4kfmmpmjyYXuAM)
Your project is not the problem
How to reproduce?
Expected behavior
Successful connection to the database. Display all users
Screenshots
No response
IDE & Version
PhpStorm 2023.2.1
PHP Version
8.2.9
OS and version
Ubuntu 22.04.3
Laravel Tinker plugin version
2.6.1
Interpreter type
Docker compose
Laravel Version
10.20.0
Tinker version
2.8.1
Psysh version
0.11.20
Additional Context
No response
The text was updated successfully, but these errors were encountered: