MySQL Forums
Forum List  »  Connector/Python

Re: MySql Connector and Python
Posted by: Nuno Mariz
Date: August 18, 2020 06:06AM

Can you try to connect via shell using the same credentials?

Another thing that I've noticed, is that it's trying to connect with the C extension (the default), but Connector/Python doesn't have a Raspberry platform specific extension. So, when `pip3 install mysql-connector-python` it should install a generic (pure Python) wheel without the C extension. Please make sure you're not setting (forcing) `use_pure=True` in the connection settings.

Options: ReplyQuote


Subject
Written By
Posted
August 15, 2020 12:02AM
Re: MySql Connector and Python
August 18, 2020 06:06AM


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.