I just ran into this and found that changing this in the .env file from 127.0.0.1
to localhost
fixed it.
DB_HOST=localhost
More Related Contents:
- No Application Encryption Key Has Been Specified
- Access denied for user ‘homestead’@’localhost’ (using password: YES)
- ReflectionException: Class ClassName does not exist – Laravel
- Fatal error: Class ‘Illuminate\Foundation\Application’ not found
- SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known
- How can I do a migration in laravel 5.5?
- Laravel 5 Clear Views Cache
- Laravel 5 – redirect to HTTPS
- Laravel : Syntax error or access violation: 1055 Error
- Warning about `$HTTP_RAW_POST_DATA` being deprecated
- How to validate array in Laravel?
- Access Controller method from another controller in Laravel 5
- Laravel 5 Failed opening required bootstrap/../vendor/autoload.php
- What is the difference between find(), findOrFail(), first(), firstOrFail(), get(), list(), toArray()
- Can’t install laravel installer via composer
- Laravel: validate an integer field that needs to be greater than another
- Laravel Request::all() Should Not Be Called Statically
- Laravel Checking If a Record Exists
- Laravel catch TokenMismatchException
- Laravel Eloquent, group by month/year
- How to select all column name from a table in laravel?
- Call to undefined method Maatwebsite\Excel\Excel::load()
- Laravel 5 – Clear Cache in Shared Hosting Server
- ErrorBag is always empty in Laravel 5.2
- Laravel 5.2 not reading env file
- disable csrf in laravel for specific route
- Laravel 5 Session Lifetime
- laravel 5.3 new Auth::routes()
- Error 405 (Method Not Allowed) Laravel 5
- find in set in laravel ? example