title: python mysql connection problem
body: <p>This code works fine:</p>
  
  <pre><code>import  MySQLdb
  
  db = MySQLdb.connect("localhost", "root", "","bullsorbit")
  cursor = db.cursor()
  
  cursor.execute("Select * from  table  where  conditions'")
  numrows = int(cursor.rowcount)
  
  print 'Total number of Pages :  %d ' % numrows
  </code></pre>
  
  <p>but if I give my IP address </p>
  
  <pre><code>db = MySQLdb.connect("192.168.*.*", "root", "","bullsorbit")
  </code></pre>
  
  <p>it will give this error</p>
  
  <pre><code>super(Connection, self).__init__(*args, **kwargs2)
  _mysql_exceptions.OperationalError: (2003, "Can't connect to MySQL server on 'ip address' (111)")
  </code></pre>