MySQL8.4での mysql_native_password 認証プラグインの扱い | スマートスタイル TECH BLOG
1. はじめに 先月(2024年4月30日)、MySQL8.4 LTS (Long-Term Support)がリリースされました。その中で、リリースノートの Deprecation and Removal Notes に記載されている mysql_native_password 認証プラグインがデフォルトで無効になったという内容について、記載したいと思います。 Important Change: The deprecated mysql_native_password authentication plugin is now disabled by default. It can be enabled by starting MySQL with the new –mysql-native-password=ON server option, or by adding mysql_native_password=ON to the [mysqld] section of your MySQL configuration file. 2. これまでの mysql_native_password 認証プラグイン mysql_native_password は、ユーザパスワードのハッシュ化に SHA-1 を用いており、MySQL5.7まではデフォルトの認証プラグインでした。 MySQL8.0からは、ハッシュ化により安全な SHA-256 を用いた […]