今回、php artisan migrateでエラーが出て困ったので投稿します。
SQLSTATE[HY000] [2054] The server requested authentication method unknown
認証方式が知らんとか言われた。どうしよ、、、じゃあMySQLで確認しますか。
mysql> select user, host, plugin from mysql.user;
確認するとrootユーザーのパスワードの認証方式はcaching_sha2_passwordであった。なんかMySQL8.0ではデフォルトでこうなっているらしい???
なので変更しましょう!
mysql> alter user 'root'@'localhost' identified with mysql_native_password by 'root';
これで変更して無事実行できました!