title: TypeError: an integer is required
body: <p>I have done the search and the existing comments on same error was not helpful</p>
  
  <p>The line:</p>
  
  <pre><code>con = MySQLdb.connect(host = '127.0.0.1', user = 'root', passwd = '', db='vendors', port='3306')
  </code></pre>
  
  <p>throws:</p>
  
  <pre><code>Traceback (most recent call last):
    File "mysqlpython.py", line 12, in &lt;module&gt;
      con = MySQLdb.connect(host = '127.0.0.1', user = 'root', passwd = '', db='vendors', port='3306')
    File "/apollo/env/AWSSDKMetrics/lib/python2.7/site-packages/MySQLdb/__init__.py", line 81, in Connect
      return Connection(*args, **kwargs)
    File "/apollo/env/AWSSDKMetrics/lib/python2.7/site-packages/MySQLdb/connections.py", line 188, in __init__
      super(Connection, self).__init__(*args, **kwargs2)
  TypeError: an integer is required
  </code></pre>
  
  <p>What is the reference to the integer? Which field is it referring to? Keep in mind that I am not a python programmer or developer.</p>