[ Django数据库连接异常 ]


提示密码校验问题

需要去mysql修改密码校验方式

use mysql;
alter user 'root'@'local' identified with mysql_native_password by 'chenhaifeng';
alter user 'root'@'%' identified with mysql_native_password by 'chenhaifeng';
flush privileges;