解決方案:
1、reading initial communication packet’ system error 0:
修改my.cnf
找出bind-address = 127.0.0.1 => #bind-address = 127.0.0.1
2、caching-sha2-password Error進入MySQL容器並以root身份登入。
指令:
ALTER USER '帳號'@'%' IDENTIFIED WITH mysql_native_password BY '密碼';
Done.