步骤一:应为/etc/mysql/mysql.conf.d/mysql.conf
更新命令为:alter user 'root'@'localhost' identified with mysql_native_password by '123456';