Mysql 远程登录 Posted on 2020-03-10 Edited on 2020-05-18 In Mysql 12345mysql> alter user 'root'@'localhost' identified with mysql_native_password by '123456';Query OK, 0 rows affected (0.60 sec)mysql> flush privileges;Query OK, 0 rows affected (0.18 sec) 记得关闭防火墙或者,取消3306端口的防火墙