﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
35228	"django.db.utils.OperationalError: (1044, ""Access denied for user 'xyz'@'localhost' to database 'product'"")"	Amit Malaker	nobody	"It's been a while since I am having issues with integrating django with mysql. Right Now, I am using django 3.1 and mysql 5.7. The issue, as you can see, the django mysql client cannot connect to the server with the given credential. Note for you, I have created the user with the name and password and checked locally with the mysql cli client **mysql -u xyz -p** . There it worked fine. I have manually created the user and provided all grant privileges as well. 

One important thing that I want to add that I came to test it locally when I got issues with the docker compose first. I think the problem arises from the internal django mysql client. Another follow up question is to you that if it is possible to change django mysql client. 

Waiting for your response
Thank you"	Uncategorized	closed	Database layer (models, ORM)	5.0	Normal	invalid	mysql, db, connection	Amit Malaker	Unreviewed	0	0	0	0	0	0
