If you are using localhost
as your DATABASE_HOST
in the .env
file, change it to 127.0.0.1
, then run php artisan config:clear
and now try php artisan migrate:install
again.
More Related Contents:
- How do I store a custom user selected CSS template style (like wordpress visual editor)? [closed]
- Laravel – only a zero is saved to the database
- PDOException SQLSTATE[HY000] [2002] No such file or directory
- How to do this in Laravel, subquery where in
- Laravel migration: unique key is too long, even if specified
- Laravel: PDOException: could not find driver
- Laravel Eloquent select all rows with max created_at
- Laravel: connect to databases dynamically
- No Application Encryption Key Has Been Specified
- How to join three table by laravel eloquent model
- Laravel OrderBy relationship count
- Could not open input file: artisan
- Setting up Laravel on a Mac php artisan migrate error: No such file or directory [duplicate]
- Laravel 5.4 field doesn’t have a default value
- Laravel 5.4 on PHP 7.0: PDO Exception – Could not find driver (MySQL)
- Laravel nested relationships
- getting the value of an extra pivot table column laravel
- Fatal error: Class ‘Illuminate\Foundation\Application’ not found
- Laravel Eloquent get results grouped by days
- php artisan migrate throwing [PDO Exception] Could not find driver – Using Laravel
- Change name of Laravel’s created_at and updated_at
- SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known
- How do I get database column names in Laravel?
- Laravel SQLSTATE[HY000] [2002] Connection refused
- Eloquent many-to-many-to-many – how to load distant relation easily
- Laravel 5 Clear Views Cache
- Mysql InnoDB engine in Laravel
- Create a Insert… Select statement in Laravel
- How to create a database-driven multi-level navigation menu using Laravel
- Eloquent groupBy make “SQLSTATE[42000]” with valid SQL query in Laravel 5.3