【Mysql学习】django.db.utils.OperationalError: (1045:Access denied for user 'root'@'localhost' (using password: NO)问题解决
mysql -u root -p
use mysql;
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'newpassword';
FLUSH PRIVILEGES;
作者:gtea
博客地址:https://www.cnblogs.com/gtea