After running the command below in my laravel project
composer.phar install
I got an error:
Script php artisan optimize handling the post-install-cmd event returned with error code 1
In Connection.php line 647: SQLSTATE[HY000] [2054] The server requested authentication method unknown t o the client (SQL: select * from
options
whereoption_key
= currency_po sition limit 1)In Connector.php line 68: SQLSTATE[HY000] [2054] The server requested authentication method unknown t o the client
In Connector.php line 68: PDO::__construct(): The server requested authentication method unknown to t he client [caching_sha2_password]
Does anyone encounter the same error? I already tried running the command 'composer update' but still nothing happened.