MySQL server has gone away

Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/quixote/publish.py", line 275, in process_request
    output = self.try_publish(request)
  File "/var/lib/python-support/python2.5/quixote/publish.py", line 253, in try_publish
    output = self.root_directory._q_traverse(components)
  File "/var/lib/python-support/python2.5/quixote/directory.py", line 63, in _q_traverse
    return obj._q_traverse(path)
  File "/var/lib/python-support/python2.5/quixote/directory.py", line 57, in _q_traverse
    obj = self._q_lookup(component)
  File "/doc/dev/www/daguofeng/server/logic/rpc/root.ptl", line 44, in _q_lookup
    return get_article(title)
  File "/doc/dev/www/daguofeng/server/logic/rpc/article.py", line 30, in get_article
    art = Article.QueryByTitle(title)
  File "/doc/dev/www/daguofeng/server/data/orm/article.py", line 47, in QueryByTitle
    cursor = get_cursor(conn, sql)
  File "/doc/dev/www/daguofeng/server/lib/lib.py", line 21, in get_cursor
    cursor.execute("SET NAMES 'utf8'")
  File "/var/lib/python-support/python2.5/MySQLdb/cursors.py", line 166, in execute
    self.errorhandler(self, exc, value)
  File "/var/lib/python-support/python2.5/MySQLdb/connections.py", line 35, in defaulterrorhandler
    raise errorclass, errorvalue
OperationalError: (2006, 'MySQL server has gone away')

你可能感兴趣的:(mysql,server,File,Path,output,Components)