I am trying to setup passport on laravel 5.5 but whenever i run php artisan migrate, i get Database [system] not configured. I am not sure why i am getting this error. Please help. Thanks.
            Asked
            
        
        
            Active
            
        
            Viewed 557 times
        
    0
            
            
        - 
                    check `.env` file.Check all database information is right or wrong. – Chonchol Mahmud Oct 23 '17 at 10:41
- 
                    can you please visit this [link](https://stackoverflow.com/a/34304002/6556397) – Rahul Oct 23 '17 at 10:42
- 
                    which method you used to install `passport` ? update `composer.json` or `require` command ? – Niklesh Raut Oct 23 '17 at 10:43
- 
                    Possible duplicate of [How to use multiple database in Laravel](https://stackoverflow.com/questions/31847054/how-to-use-multiple-database-in-laravel) – mbozwood Oct 23 '17 at 10:44
- 
                    @ChoncholMahmud I checked .env and the database information looks right. – Peter Taiwo Oct 23 '17 at 10:44
- 
                    @user2486 I used require command. Thanks. – Peter Taiwo Oct 23 '17 at 10:45
- 
                    Try `composer update` and check – Niklesh Raut Oct 23 '17 at 10:46
- 
                    @user2486 Okay let me check. THanks. – Peter Taiwo Oct 23 '17 at 10:47
- 
                    @user2486 It still does not work. Thanks. – Peter Taiwo Oct 23 '17 at 10:51
- 
                    @rahulsm I have checked the link and database.php is in my config directory. – Peter Taiwo Oct 23 '17 at 10:51
- 
                    Can you post your .env in your question? – Rahul Oct 23 '17 at 10:54
- 
                    also share `database.php` inside `config` folder ? – Niklesh Raut Oct 23 '17 at 10:56
- 
                    Hi Guys, I got it to work after changing the database. I had another package which needed a database with the name "system". Thanks all :) – Peter Taiwo Oct 23 '17 at 10:57
