0

I have a clean system and installed Python and mysql-connector-python via pip. But as soon as I add attributes to

mysql.connector.connect

I get a segfault.

So just

mysql.connector.connect()

works fine (of course it doesn't connect but it doesn't throw an exception either) while

mysql.connector.connect(
     host="localhost"
)

gives me a segfault.

What do I miss?

  • Python: 3.10.11
  • mysql-connector-python: 9.1.0
  • pip: 23.0.1

1 Answer 1

0

The problem seems to be the 64bit version of Python. After installing the 32bit version the MySQL connector worked.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.