Hi DB-7652,
Please refer to MySQL ERROR 1045 (28000) and Fixing MySQL 1045 Error: Access Denied which might help.
You can also open a thread in this forum.
Best Regards,
Amelia
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am trying to connect mysql(8.0) and python(3.8) using mysql.connector but getting the error:
mysql.connector.errors.ProgrammingError: 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) Windows 10
same code working for pymysql.connect
note that the password entered is correct.
Hi DB-7652,
Please refer to MySQL ERROR 1045 (28000) and Fixing MySQL 1045 Error: Access Denied which might help.
You can also open a thread in this forum.
Best Regards,
Amelia
This is a MICROSOFT SQL Server forum. You need to post your question in a "mysql" forum.
Hi DB-7652,
Welcome to Microsoft Q&A.
For MySQL issue, suggest you open a thread in the corresponding forum mentioned by TomPhilips, so that people there will help you more effectively.
And here is an article which might help.
Best Regards,
Amelia
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.