📌  相关文章
📜  django.db.utils.OperationalError: (1045, "Access denied for user 'root'@'localhost' (using password: YES)") - 无论代码示例

📅  最后修改于: 2022-03-11 14:58:07.677000             🧑  作者: Mango

代码示例2
create user 'django'@'localhost' identified by 'django-user-password';
grant usage on *.* to 'django'@'localhost';
grant all privileges on django-database-1.* to 'django'@'localhost';