--> --> -->
 
 
<class '_mysql_exceptions.OperationalError'>
Python 2.6.6: /usr/bin/python
Mon Feb 27 07:34:53 2017

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

 /var/www/html/pingroll.net/xmlrpc/index.cgi in ()
  326         _update_db(_url, _escape_xml_str(_name), _escape_xml_str(_title), _escape_xml_str(_excerpt))
  327     
  328     _output(_type)
  329 
  330 
_output = <function _output>, _type = 'show'
 /var/www/html/pingroll.net/xmlrpc/index.cgi in _output(type='show')
  298         _show_rss()
  299     else:
  300         _show_ping_list()
  301 
  302 
global _show_ping_list = <function _show_ping_list>
 /var/www/html/pingroll.net/xmlrpc/index.cgi in _show_ping_list()
  205 def _show_ping_list():
  206     from HTMLTemplate import Template
  207     db = PingDB(db_host, db_user, db_passwd, db_name)
  208     rset = db.fetch()
  209     db.close()
db undefined, global PingDB = <class __main__.PingDB>, global db_host = 'localhost', global db_user = 'root', global db_passwd = 'deadblue', global db_name = 'pingroll'
 /var/www/html/pingroll.net/xmlrpc/index.cgi in __init__(self=<__main__.PingDB instance>, host='localhost', user='root', passwd='deadblue', db='pingroll')
   51 class PingDB:
   52     def __init__(self, host, user, passwd, db):
   53         self.conn = MySQLdb.connect(host=host, user=user, passwd=passwd, db=db)
   54 
   55     def close(self):
self = <__main__.PingDB instance>, self.conn undefined, global MySQLdb = <module 'MySQLdb' from '/usr/lib64/python2.6/site-packages/MySQLdb/__init__.pyc'>, MySQLdb.connect = <function Connect>, host = 'localhost', user = 'root', passwd = 'deadblue', db = 'pingroll'
 /usr/lib64/python2.6/site-packages/MySQLdb/__init__.py in Connect(*args=(), **kwargs={'db': 'pingroll', 'host': 'localhost', 'passwd': 'deadblue', 'user': 'root'})
   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': 'pingroll', 'host': 'localhost', 'passwd': 'deadblue', 'user': 'root'}
 /usr/lib64/python2.6/site-packages/MySQLdb/connections.py in __init__(self=<_mysql.connection closed at 21ea760>, *args=(), **kwargs={'db': 'pingroll', 'host': 'localhost', 'passwd': 'deadblue', 'user': 'root'})
  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 21ea760>, ).__init__ = <bound method Connection.__init__ of <_mysql.connection closed at 21ea760>>, 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': 'pingroll', 'host': 'localhost', 'passwd': 'deadblue', 'user': 'root'}

<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 = ''