I'm completely beginner using laravel and also with databases, so don't be harsh.
I followed the guide: https://www.youtube.com/watch?v=Tsr3NgoExfo&index=4&list=PL55RiY5tL51qUXDyBqx0mKVOhLNFwwxvH (might be useful!)
and after command "php artisan migrate" I got error SQLSTATE[HY000] [1045] Access denied for user 'homestead'@'localhost' (using password: YES).
I'm using XAMPP. I'm not sure how I'm getting this error and why. Maybe someone could take a look on the guide video (only 6mins) and see what the problem is in my configuration?
.env
APP_ENV=local
APP_DEBUG=true
APP_KEY=**
DB_HOST=localhost
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret
CACHE_DRIVER=file
SESSION_DRIVER=file
QUEUE_DRIVER=sync
MAIL_DRIVER=smtp
MAIL_HOST=mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
database.php
'mysql' => [
'driver' => 'mysql',
'host' => env('DB_HOST', 'localhost'),
'database' => env('DB_DATABASE', 'forge'),
'username' => env('DB_USERNAME', 'forge'),
'password' => env('DB_PASSWORD', ''),
'charset' => 'utf8',
'collation' => 'utf8_unicode_ci',
'prefix' => '',
'strict' => false,
],
I feel really stuck here. Tried different things and solutions (around forums) and still couldn't find anything that works! Any help would be a blast.