mysql -uroot -p -h 127.0.0.1

mysql> select host,user,plugin,authentication_string from mysql.user;

mysql> ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY '123456';

 

Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐