Como o PHP não entende
caching_sha2_password , defina o usuário de volta para mysql_native_password :ALTER USER 'forge'@'localhost'
IDENTIFIED WITH mysql_native_password BY 'new_password'
caching_sha2_password , defina o usuário de volta para mysql_native_password :ALTER USER 'forge'@'localhost'
IDENTIFIED WITH mysql_native_password BY 'new_password'