laravel-multiple-auth icon indicating copy to clipboard operation
laravel-multiple-auth copied to clipboard

Database connection as shown in tutorial is possibly wrong

Open yeboahnanaosei opened this issue 4 years ago • 0 comments

Hi, thanks for the tutorial on pusher. I realized that the section that talks about connecting an sqlite database is probably not complete.

To connect to an sqlite database you need to set two variables in the .env file. The tutorial however just showed one which is: DB_CONNECTION=/absolute/path/to/database.sqlite

However, you need to set these two: DB_CONNECTION=sqlite DB_DATABASE=/absolute/path/to/database.sqlite

yeboahnanaosei avatar Aug 06 '20 18:08 yeboahnanaosei