How to get MySql 8 to run with laravel? [duplicate]

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'

Leave a Comment