--> --> -->
 
 
<class '_mysql_exceptions.OperationalError'>
Python 2.6.6: /usr/bin/python
Sun Jul 31 01:24:35 2016

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /home/performa/public_html/cgi-bin/pfi_registration.py in ()
 1646 
 1647     return body
 1648     
 1649 if __name__ == '__main__':
 1650     main()
main = <function main>
 /home/performa/public_html/cgi-bin/pfi_registration.py in main()
  131 
  132     # Open up a database connection
  133     db = pfi_utils.db_connect()
  134 
  135     # Look up information on this course
db undefined, global pfi_utils = <module 'pfi_utils' from '/home/performa/public_html/cgi-bin/pfi_utils.pyc'>, pfi_utils.db_connect = <function db_connect>
 /home/performa/public_html/cgi-bin/pfi_utils.py in db_connect()
  101                            user="performa_mandy",
  102                            passwd="&HPgpx$DN8He#sX1",
  103                            db="performa_store"
  104                            )
  105 
db undefined
 /usr/lib64/python2.6/site-packages/MySQLdb/__init__.py in Connect(*args=(), **kwargs={'db': 'performa_store', 'host': 'localhost', 'passwd': '&HPgpx$DN8He#sX1', 'user': 'performa_mandy'})
   79     """Factory function for connections.Connection."""
   80     from MySQLdb.connections import Connection
   81     return Connection(*args, **kwargs)
   82 
   83 connect = Connection = Connect
Connection = <class 'MySQLdb.connections.Connection'>, args = (), kwargs = {'db': 'performa_store', 'host': 'localhost', 'passwd': '&HPgpx$DN8He#sX1', 'user': 'performa_mandy'}
 /usr/lib64/python2.6/site-packages/MySQLdb/connections.py in __init__(self=<_mysql.connection closed at 145bed0>, *args=(), **kwargs={'db': 'performa_store', 'host': 'localhost', 'passwd': '&HPgpx$DN8He#sX1', 'user': 'performa_mandy'})
  191         autocommit = kwargs2.pop('autocommit', False)
  192 
  193         super(Connection, self).__init__(*args, **kwargs2)
  194         self.cursorclass = cursorclass
  195         self.encoders = dict([ (k, v) for k, v in conv.items()
builtin super = <type 'super'>, global Connection = <class 'MySQLdb.connections.Connection'>, self = <_mysql.connection closed at 145bed0>, ).__init__ = <bound method Connection.__init__ of <_mysql.connection closed at 145bed0>>, args = (), kwargs2 = {'client_flag': 196608, 'conv': {0: <class 'decimal.Decimal'>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None>, ...}, 'db': 'performa_store', 'host': 'localhost', 'passwd': '&HPgpx$DN8He#sX1', 'user': 'performa_mandy'}

<class '_mysql_exceptions.OperationalError'>: (2002, "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)")
      args = (2002, "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)")
      message = ''