I am following this tutorial here https://www.youtube.com/watch?v=Jbt5bEgv_QM and got stuck in the php artisan migrate part because of this issue. I'm not sure if it's compatibility issue or something. I am fairly new to laravel.
Here's the database.php
file and .env
file.
UPDATE: i managed to perform the migration using the solutions provided by the user PHP. However, i couldn't find the table in my phpMyAdmin. do i need to change mySQL root password for that? i have actually set the password but in .env
and database.php
files i left it blank because the migration works that way. if i set the actual password in both files, I'd get access denied
error.
1)First you have to Create your related Database.
2)Then:php artisan cache:clear
3)Now run php artisan migrate:install