I have installed Laravel 5 successfully and changed MySQL credentials in database.php file in config directory to \'
mysql\' => [ \'driver\'
Please update below file.
vendor - .env - on line#7
DB_HOST=localhost DB_DATABASE=homestead DB_USERNAME=homestead DB_PASSWORD=secret
Instead of homestead user your database, username and password. This should work for you.