TL;DR
- 日々の覚書: MySQL 8.0のcaching_sha2_password + 非SSL接続が転ける は目を通してもらっている前提
- SSL接続同士、非SSL接続同士では
mysql_native_passwordとcaching_sha2_passwordの接続コストは数百usくらいしか違わない
- まずは
mysql_native_password,caching_sha2_password,sha256_passwordそれぞれを指定したアカウントを作ります。
CREATE USER yoku0825_native_password IDENTIFIED WITH mysql_native_password BY 'a';
CREATE USER yoku0825_caching_sha2 IDENTIFIED WITH caching_sha2_password BY 'a';
CREATE USER yoku0825_sha256 IDENTIFIED WITH sha256_password BY 'a';
- …