connect mysql using python
From http://dev.mysql.com/doc/refman/5.5/en/connector-python-example-connecting.html