Installing Python with MySQL connector on Red Hat
<p>I'm having trouble making MySQL connector work with Python. </p>

<ul>
<li>I started with a fresh new installation of Red Hat 6.4.</li>
<li>The system already had Python 2.6.6 installed by default, I need however version 3.4</li>
<li>I downloaded, compiled and installed Python 3.4 from here (<a href="https://www.python.org/ftp/python/3.4.4/Python-3.4.4.tgz" rel="nofollow">https://www.python.org/ftp/python/3.4.4/Python-3.4.4.tgz</a>)</li>
<li>I downloaded and installed the MySQL yum repository from here (<a href="http://dev.mysql.com/get/mysql57-community-release-el6-8.noarch.rpm" rel="nofollow">http://dev.mysql.com/get/mysql57-community-release-el6-8.noarch.rpm</a>)</li>
<li>Installed mysql-community-server version 5.7 with yum</li>
<li>Finally I installed mysql-connector-python with yum (version 2.1.3)</li>
</ul>

<p>Now it looks like the module works in Python 2.6.6 but it can't find the module with Python 3.4.</p>

<p>I'm a bit stuck with how to get round this.</p>