LaravelDaily / Laravel-Vue-Login-Register

Demo-project of Laravel Login/Register via API from Vue.js client
148 stars 90 forks source link

Database issue #4

Closed l7aj-imad closed 4 years ago

l7aj-imad commented 4 years ago

i ma new with this laravel - vue frameworks please when i tried to run the following command : php artisan migrate --seed its show me this error . Database name seems incorrect: You're using the default database name laravel. This database does not exist.

Edit the `.env` file and use the correct database name in the `DB_DATABASE` key.

Please how do i fix it?

PovilasKorop commented 4 years ago

@l7aj-imad well, the error is clear and it even says what do to - in your .env file with correct database name. I won't help you more than this message, please read how to configure databases in Laravel.

l7aj-imad commented 4 years ago

i cloned it in laragon and made sure the links are good but it tells me : could not find driver...

PovilasKorop commented 4 years ago

@l7aj-imad it's not issue with our repository, it's issue with your configuration, sorry can't help