Bug #78370 python3.4 cannot find the mysql module for "import mysql.connector"
Submitted: 8 Sep 2015 17:50 Modified: 16 Jan 2016 9:26
Reporter: William Levering Email Updates:
Status: No Feedback Impact on me:
None 
Category:Connector / Python Severity:S2 (Serious)
Version:2.04 OS:MacOS (OS X 10.10.4)
Assigned to: Assigned Account CPU Architecture:Any

[8 Sep 2015 17:50] William Levering
Description:
Python cannot find the mysql module file, mysql.py, from the statement "import mysql.connector". I installed the python connector using mysql-connector-python-2.0.4-osx10.9.dmg on my iMac that is running OS X 10.10.4 and I am struggling to know what was installed and where.

Thank you.

How to repeat:
[iMac Python] python3.4
>>> import mysql.connector
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named 'mysql'

Suggested fix:
Please identify what is installed and where from the .pkg file after the installation is complete. Thank you.
[16 Dec 2015 9:26] Chiranjeevi Battula
Hello William Levering,

Thank you for the bug report.
I tried to reproduce the issue at my end using Python 3.4.3 and Connector 2.1.3 but not seeing any issues MySQL modules.
Could you please provide repeatable test case (sample code, etc. - please make it as private if you prefer) to confirm this issue at our end?

Thanks,
Chiranjeevi.
[17 Jan 2016 1:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".