MySQL Forums
Forum List  »  Connector/Python

Re: Why I am unable to create connection with MySQL using python on Window 11 OS
Posted by: Rasheed Mosan
Date: December 02, 2025 01:37PM

Check your Python code indentation and run it from the command prompt instead of IDLE to see errors. Also, ensure MySQL allows your user and port 3306 is not blocked by the firewall.

Options: ReplyQuote


Subject
Written By
Posted
Re: Why I am unable to create connection with MySQL using python on Window 11 OS
December 02, 2025 01:37PM


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.