Since PHP doesn’t understand caching_sha2_password
, set the user back to mysql_native_password
:
ALTER USER 'forge'@'localhost'
IDENTIFIED WITH mysql_native_password BY 'new_password'
More Related Contents:
- Laravel one to many relation with a one to one relation
- PDOException SQLSTATE[HY000] [2002] No such file or directory
- Undefined function mysql_connect()
- How to do this in Laravel, subquery where in
- Laravel 5 PDOException Could Not Find Driver
- How to join three table by laravel eloquent model
- Can’t install laravel installer via composer
- Laravel 5.2 – Use a String as a Custom Primary Key for Eloquent Table becomes 0
- 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
- “No such file or directory” or “No such host is known” when running migrations
- Laravel $q->where() between dates
- belongsToMany relationship in Laravel across multiple databases
- mysql_real_escape_string is undefined
- How Can I Set the Default Value of a Timestamp Column to the Current Timestamp with Laravel Migrations?
- Laravel nested relationships
- getting the value of an extra pivot table column laravel
- Laravel Cannot delete or update a parent row: a foreign key constraint fails
- PHP 7 RC3: How to install missing MySQL PDO
- Base table or view not found: 1146 Table Laravel 5
- 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
- How to install all required PHP extensions for Laravel?
- Create a Insert… Select statement in Laravel
- PHP Laravel: No connection could be made because the target machine actively refused it
- 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
- find in set in laravel ? example