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 crud app errors using laravel livewire
- postgresql - about partiton by null in postgres
- the postgresql "postgres" command cannot be executed
- php - about overriding the laravel controller method
- about postgresql peer authentication
- about environment variables ld_library_path, pgdata in postgresql
- about creating a controller for laraveladmin
- about promotion from slave to master during postgresql96 replication
- about create table of postgresql with ansible
- php - about laravel: problems with unit testing (database testing)
- php - [laravel] questions about eloquent optimization
- php - about the scope of laravel variables
- php - about laravel eloquent
- about the sequence function of postgresql
- 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 building laravel environment
- php - about gate by the value of laravel relation destination
- laravel : Locking a row in postgresql
- php - "doesn't have a default value" error when performing seeding
- postgresql - "psql: not found" error with docker-compose up
- postgresql - i don't know the initial password for postgressql
- mysql - i want to connect to the db in the docker container from sql client software
- amazon ec2 - i want to check the laravel project on docker-compose on aws with a browser
- postgresql - "could not find driver" when trying to use postgressql in php
- mysql - about the setting to connect to the db in docker from the sql client
- php - regarding the construction of laravel environment with docker, the installation was successful and the container was start
- i want to pass the php path