-2

I made a new installation of laravel, I have a mysql which turns on the vagrant, I made the connection in the .env file and in the file config / database.php

i do not understand why i get this error, my system is linux and i use vagrant to host my sql

Can you help me to understand the problem ?

laravel error message laravel error message

environment file laravel environment file laravel

laravel config/database file laravel config/database file

mate00
  • 2,727
  • 5
  • 26
  • 34
Marc Bah
  • 1
  • 1
  • 2

3 Answers3

2

If you have installed laravel just now, You should do :

php artisan migrate

It will install the migration and will create tables for you. one of which is users table which is used for authentication.

Mihir Bhende
  • 8,677
  • 1
  • 30
  • 37
0

if you have installed fresh laravel, than you should run php artisan make:auth and then run php artisan migrate this will populate table users in your connected database.

Manish J
  • 686
  • 1
  • 8
  • 24
0

php artisan migrate must work! and you go to /register

More info here: https://laravel.com/docs/5.7/authentication#introduction

Mexidense
  • 954
  • 8
  • 7