mercredi 24 juillet 2019

sqlite database connection refused on laravel-voayger

Using Mac OS X and Laravel 5.8 with package voyager

getting error while login enter image description here

database config: config/database.php

'sqlite' => [
            'driver' => 'sqlite',
            'url' => env('DATABASE_URL'),
            'database' => env('DB_DATABASE/..', database_path('database.sqlite')),
            'prefix' => '',
            'foreign_key_constraints' => true,//env('DB_FOREIGN_KEYS', true),
        ],

env config .env

DB_CONNECTION=sqlite
DB_DATABASE=database\database.sqlite



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire