I use the command php artisan migrate to migrate my db in laravel 5 .. it gives me an error:
exception \'PDOException\' with message \'SQLSTATE[HY000] [10
In your Laravel .env file, alter the variables accordingly to match your desired settings.
If you're using something like XAMMP or EasyPHP with a mysql db, perhaps use the following setup
DB_HOST=localhost DB_DATABASE=mysql DB_USERNAME=root DB_PASSWORD=''