I am new in Laravel 5.2.
I am getting following error:
SQLSTATE  Access denied for user 'homestead'@'localhost' (usin
g password: YES)
php artisan migrate
You are getting above error because on your .env file. If you open that from your project base directory then you will following default configuration:
DB_CONNECTION=mysql DB_HOST=localhost DB_DATABASE=homestead DB_USERNAME=homestead DB_PASSWORD=secret
Just change above values according to your development environment. Try again, Hopefully that would resolve your issue.