title: MySQL connector in centOS 7
body: <p>I'm trying to deploy a flask app in a centOS 7. </p>
  
  <p>I installed the connector with: <code>sudo yum install mysql-connector-python</code></p>
  
  <p>But when I run: <code>python init.py</code>, I got this error:</p>
  
  <pre><code>from mysql import connector
  ImportError: No module named mysql
  </code></pre>
  
  <p>Note: my project is inside a virtualenv.</p>
  
  <p>Inside my virtualenv:</p>
  
  <pre><code>pip install MySQL-python
  </code></pre>
  
  <p>Error:<code>Requirement already satisfied (use --upgrade to upgrade): MySQL-python in /root/ams/env/lib/python2.7/site-packages</code></p>
  
  <pre><code>yum install MySQL-python
  </code></pre>
  
  <p>Error:<code>Package MySQL-python-1.2.3-11.el7.x86_64 already installed and latest version</code></p>