my local server is laragon
i changed below code of database.php
‘default’ => env(‘DB_CONNECTION’, ‘mysql’),
when in shell i type “php artisan migrate” its answer that
[PDOException]
SQLSTATE[HY000] [1045] Access denied for user ‘homestead’@‘localhost’ (using passwo
rd: YES)
and its details of mysql
'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,
],
what is the problem?