Django启动服务器时,报错mysql的2059错误的解决办法

版权声明:本文为pureszgd原创文章,未经允许不得转载, 要转载请评论留言! https://blog.csdn.net/pureszgd/article/details/81118578
mysql -u root -p
use mysql;
select user,plugin from user where user='root';
alter user 'root'@'localhost' identified with mysql_native_password by 'yourpassword'
flush privileges

猜你喜欢

转载自blog.csdn.net/pureszgd/article/details/81118578