Unknown Database Laravel 5.8 New Registration of user

Posted 3 weeks ago by muazzamazaz

I am getting following error after creating database name HotelBooking in mysql and set this in .env file. I have also run migration successfully but when I try to register user it gives error:

SQLSTATE[HY000] [1049] Unknown database 'laravel'

There is no cache configured yet

Please sign in or create an account to participate in this conversation.