ulearnpro / ulearn

ULEARN - Open Source(FREE) LMS script in Laravel 5.8 and ReactJS 16.9
https://www.ulearnpro.com
MIT License
636 stars 290 forks source link

Erorr [Composer Update] #37

Open sultanworks opened 3 years ago

sultanworks commented 3 years ago

I got error when i run command "Composer Update"

My databes is configured properly!

In DatabaseManager.php line 152:

Database [] not configured.

Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1

darkarp commented 1 year ago

What it means is that you need to set the correct database connection. In .env you should see DB_CONNECTION=. You can input the db connection, I believe only mysql is supported. Anyway, it would look like this: DB_CONNECTION=mysql