MySQL Forums
Forum List  »  Connector/Python

Re: MYSQL - Python Connector - No Response
Posted by: Breno Batista
Date: May 07, 2025 05:17AM

Hi, I hope I have already solved it. However, if you are still facing this problem, here is the solution. DB_CONFIG = {
"host": "localhost",
"user": "root",
"password": "secret",
"database": "db",
"port": 3306,
"use_pure": True
}
cnx = mysql.connector.connect(**DB_CONFIG). This error does not appear in every configuration, but when it does, this is how you solve it. Best regards and I hope this helped.

Options: ReplyQuote


Subject
Written By
Posted
Re: MYSQL - Python Connector - No Response
May 07, 2025 05:17AM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.