mysql8 phpmyadmin 修改密码加密方式

冯元春 / 2024-11-13 / 原文

create user root@'%' identified by '';

grant all privileges on *.* to root@'%' with grant option;

alter user root@'%' identified with caching_sha2_password by '';