PYTHON mysql.connector.errors.ProgrammingError: 1698 (28000): Access denied for user 'root'@'localhost' code example
Example: 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';