Answers for "django.db.utils.OperationalError: (1698, "Access denied for user 'root'@'localhost'""

0

django.db.utils.OperationalError: (1698, "Access denied for user 'root'@'localhost'")

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';
Posted by: Guest on August-23-2020
0

django.db.utils.OperationalError: (1698, "Access denied for user 'root'@'localhost'")

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';
Posted by: Guest on July-01-2021

Code answers related to "django.db.utils.OperationalError: (1698, "Access denied for user 'root'@'localhost'""

Python Answers by Framework

Browse Popular Code Answers by Language