📌  相关文章
📜  django.db.utils.OperationalError: (1698, "Access denied for user 'root'@'localhost'") - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:12.150000             🧑  作者: 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';