https: // team-lab .github.io/skillup/step2/03-laravel-demo.html
I am studying with reference to the above site.
Try using 4 models (DB access)
The command and locallhost error occur.
Is docker's environment construction bad?
Is the db connection not working?
I have no idea how to fix it. .
Can you give me advice?
Answer # 1
Because Docker's postgres has not been started correctly.
Every time, Laravel beginners don't have to use Docker.
Don't use the Docker as a reference because I don't know what it teaches.
From now on, if you ask a Docker error at the stage of studying Laravel, it will not proceed.
If you install PHP and composer and can create a Laravel project
SQLite works reliably with
php artisan serveand database.
Answer # 2
https://mrkmyki.com/2018/11/25/docker-for-windows%E3%81%A8laradoc%E3%81%A7postgres%E3%81%AE%E3%82% B3% E3% 83% B3% E3% 83% 86% E3% 83% 8A% E3% 81% 8C% E8% B5% B7% E5% 8B% 95% E3% 81% A7% E3% 81% 8D% E3% 81% AA% E3% 81% 84% E5% A0% B4% E5% 90% 88% E3% 81% AE% E5% AF% BE/
- postgresql - about partiton by null in postgres
- postgresql - about postgres container built with docker compose
- about the acquisition contents of $this-> content in laravel prepareforvalidation ()
- about building laravel environment
- php - about laravel eloquent
- php - about the scope of laravel variables
- about the meaning when there is a character string after the from clause in postgresql
- postgresql - about cross-join in the question about the percentile of 100 data scientist knocks
- postgresql - about db operation using flask and sqlalchemy
- about laravel's eloquent
- about the connection cancellation method between docker and mysql
- php - about gate by the value of laravel relation destination
- php - [laravel] questions about eloquent optimization
- about postgresql 94 supported os
- php - about the description of the laravel inquiry completion email
- about namespaces and uses (php and laravel)
- php - about laravel authentication restrictions
- php - about laravel syntax best practices
- sqlite - about database connection [monaca]
- php - about error when redirecting laravel
- laravel - about using docker in a production environment (using vps)
- docker laravel pusher 500 error
- php - move laravel developed in local environment to vps
- aws - aws elastic beanstalk circleci
- laravel - laradock exit(3) error
- mysql - about docker container startup error
- php - [laravel] auth is not authenticated by the test code for login authentication
- i want to build an environment for laravel with laradock
- php - i can't make a symlink with laravel
- nginx - [laravel] container does not start up with $docker-compose up -d