Environment
- Microsoft Windows 10.0.16299.15
- PHP 7.2.11
- MySQL Community Server 8.0.13
- Symfony 4
I try to connect to MySQL database. When I
php bin/console doctrine:database:create
, I have this:
An exception occurred in driver: SQLSTATE[HY000][2054] The server requested authentication method unknown to the client
PDO::_construct(): The server requested authentication method unknown to the client [caching_sha2_password]