You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Docker version ($ docker --version): Docker version 20.10.13, build a224086
Laradock commit ($ git rev-parse HEAD): fee2d33
System info (Mac, PC, Linux): Mac
System info disto/version: MacOs Monterey 12.3 (21E230)
Chip: Apple M1
Issue:
I am getting the following error
[2022-04-07 12:11:23] local.ERROR: SQLSTATE[HY000] [2002] Connection refused (SQL: select * from information_schema.tables where table_schema = swimrace and table_name = migrations and table_type = 'BASE TABLE') {"exception":"[object] (Illuminate\\Database\\QueryException(code: 2002): SQLSTATE[HY000] [2002] Connection refused (SQL: select * from information_schema.tables where table_schema = swimrace and table_name = migrations and table_type = 'BASE TABLE') at /var/www/swimrace/vendor/laravel/framework/src/Illuminate/Database/Connection.php:712)
When I run php artisan migrate
I'm running it inside the container using this command docker-compose exec workspace bash
User and password in this last configuration was created via console into mariadb container and assigned to this account all privileges.
If I try to read/write into database with any database ui tools (PMA, DataGrip, etc) I can see and write inside the database, but not with artisan commands.
The text was updated successfully, but these errors were encountered:
Hi 👋 this issue has been automatically marked as stale 📌 because it has not had recent activity 😴. It will be closed if no further activity occurs. Thank you for your contributions ❤️.
Hi again 👋 we would like to inform you that this issue has been automatically closed 🔒 because it had not recent activity during the stale period. We really really appreciate your contributions, and looking forward for more in the future 🎈.
Info:
Docker version ($ docker --version): Docker version 20.10.13, build a224086
Laradock commit ($ git rev-parse HEAD): fee2d33
System info (Mac, PC, Linux): Mac
System info disto/version: MacOs Monterey 12.3 (21E230)
Chip: Apple M1
Issue:
I am getting the following error
When I run
php artisan migrate
I'm running it inside the container using this command
docker-compose exec workspace bash
settings on .env (laradock):
settings on .env (project):
User and password in this last configuration was created via console into mariadb container and assigned to this account all privileges.
If I try to read/write into database with any database ui tools (PMA, DataGrip, etc) I can see and write inside the database, but not with artisan commands.
The text was updated successfully, but these errors were encountered: