MySql远程连接配置方法
作者:互联网
1.如果想要设置远程这样设置:ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY 'newpassword'; #更新一下用户的密码 root用户密码为newpassword
2.如果要设置本地plugin为mysql_native_password这样设置:
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'newpassword'; #更新一下用户的密码 root用户密码为newpassword
flush privileges;
标签:newpassword,MySql,远程,密码,mysql,password,root,连接,native 来源: https://www.cnblogs.com/chuangshi96/p/13048478.html