I'm on a Ubuntu 15.10 Yosemite using Laravel 5.2.*
Here is my .env file:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=Pastry
DB_USERNAME=root
DB_PASSWORD=243320
app\config\database.php
'mysql' => [
'driver' => 'mysql',
'host' => env('DB_HOST', 'localhost'),
'port' => env('DB_PORT', '3306'),
'database' => env('DB_DATABASE', 'Pastry'),
'username' => env('DB_USERNAME', 'root'),
'password' => env('DB_PASSWORD', '243320'),
'charset' => 'utf8',
'collation' => 'utf8_unicode_ci',
'prefix' => '',
'strict' => false,
'engine' => null,
],
emember when I got the message:
SQLSTATE[28000] [1045] Access denied for user 'homestead'@'localhost' (using password: YES)
Help me please!