执行SQL

  1. alter user 'root'@'localhost' identified by 'Flower@1.com' password expire never;
  2. alter user 'root'@'localhost' identified with mysql_native_password by 'Flower@1.com';
  3. flush privileges;