--> --> -->
 
 
<class '_mysql_exceptions.OperationalError'>
Python 2.7.12: /usr/bin/python
Wed Jan 22 15:45:18 2020

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

 /work/www/bd.fom.ru/.code/cat.py in ()
     13 form = cgi.FieldStorage()
     14 
=>   15 from wps.Catalog import Dirs 
     16 
     17 locale.setlocale(locale.LC_ALL,"ru_RU.CP1251")
wps undefined, Dirs undefined
 /work/www/bd.fom.ru/.code/wps/__init__.py in ()
      3 
      4 from Cfg import *
=>    5 from If import EdRedirect, IsHtml, Error
      6 from If import ReportForm, PutReport, RenameReport, DeleteReport
      7 from If import ClientForm, PutClient, RenameClient, DeleteClient
If undefined, EdRedirect undefined, IsHtml undefined, Error undefined
 /work/www/bd.fom.ru/.code/wps/If.py in ()
      8  
      9 from Cfg import * 
=>   10 import Db 
     11 import DocumentTemplate 
     12  
Db undefined
 /work/www/bd.fom.ru/.code/wps/Db.py in ()
    519 else:
    520     # ������������ � ��
=>  521     _DBH = MySQLdb.connect(host = dbHost, user = dbUser, passwd = dbPassword, db=dbDB)
    522     #_DBH.execute("set CHARACTER SET koi8-r")
    523     #_DBH.selectdb(dbDB)
_DBH undefined, MySQLdb = None, MySQLdb.connect undefined, host undefined, dbHost = None, user undefined, dbUser = None, passwd undefined, dbPassword = None, db undefined, dbDB = None
 /usr/lib/python2.7/dist-packages/MySQLdb/__init__.py in Connect(*args=(), **kwargs={'db': 'bd', 'host': '127.0.0.1', 'passwd': '1GZdGfNmTQ', 'user': 'bd'})
     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': 'bd', 'host': '127.0.0.1', 'passwd': '1GZdGfNmTQ', 'user': 'bd'}
 /usr/lib/python2.7/dist-packages/MySQLdb/connections.py in __init__(self=<_mysql.connection closed at 189b3b0>, *args=(), **kwargs={'db': 'bd', 'host': '127.0.0.1', 'passwd': '1GZdGfNmTQ', 'user': 'bd'})
    202         self.waiter = kwargs2.pop('waiter', None)
    203 
=>  204         super(Connection, self).__init__(*args, **kwargs2)
    205         self.cursorclass = cursorclass
    206         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 189b3b0>, ).__init__ = <bound method Connection.__init__ of <_mysql.connection closed at 189b3b0>>, 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': 'bd', 'host': '127.0.0.1', 'passwd': '1GZdGfNmTQ', 'user': 'bd'}

<class '_mysql_exceptions.OperationalError'>: (2003, "Can't connect to MySQL server on '127.0.0.1' (111)")
      args = (2003, "Can't connect to MySQL server on '127.0.0.1' (111)")
      message = ''