title: Install / Update mysql-connector for Python
body: <p>I have had no success at installing the MySQL Python connector on ubuntu 14.04. it appears that the production environment has version 1.1.6 installed. I have tried removing it with both pip and apt-get. I have attempted to update it also and have had no luck.</p>
  
  <p>The command below does not work, I have tried with both "mysql-connector" and "mysql-connector-python"</p>
  
  <p><code>pip install --user --allow-external mysql-connector-python mysql-connector-python</code>
  `</p>
  
  <blockquote>
    <p>Downloading/unpacking mysql-connector-python<br>   Could not find any
    downloads that satisfy the requirement mysql-connector-python Cleaning
    up...<br> No distributions at all found for mysql-connector-python<br>
    Storing debug log for failure in /root/.pip/pip.log`</p>
  </blockquote>
  
  <p>If I run the command above, with just mysql-connector, it fails with an error about external managment. <br>
  <code>"error: option --single-version-externally-managed not recognized"</code></p>
  
  <p>I have also tried to manually remove it from "/usr/lib/python2.7/dist-packages/mysql_connector_python-1.1.6.egg-info" and that seems to have made no difference.</p>
  
  <p>I have also downloaded the .deb from MySQL:<br>
  "mysql-connector-python-cext_2.1.3-1ubuntu14.04_amd64.deb" and used dpkg to install it, but that fails, as well as update fails.</p>
  
  <p>Any advice?</p>