SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client in ...
- MySQL 8+ usa
auth_socketpara autenticação. Necessário trocar para o antigo
ALTER USER '<username>'@'<host>' IDENTIFIED WITH mysql_native_password BY '<password>';
Uncaught PDOException: could not find driver in ...
- Driver do PDO da versão de PHP não está instalado.
sudo apt-get install php7.X-mysql