--> --> -->
 
 
OperationalError
Python 2.4.5: /usr/local/bin/python
Fri Nov 24 11:45:49 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.

 /usr/local/www/spring/spring/index.cgi
   11 import spring.Payment
   12 
   13 s = Session()
   14 print "Content-Type: text/html\n"
   15 
s undefined, Session = <class Session.Session>
 /usr/local/www/spring/spring/Session.py in __init__(self=<Session.Session instance>)
   15                 self.cookies = {} 
   16                 self.sesid = None
   17                 self.opers = Opers()
   18 
   19                 # parse HTTP_COOKIE to get cookies
self = <Session.Session instance>, self.opers undefined, global Opers = <class spring.Opers.Opers>
 /usr/local/www/spring/spring/spring/Opers.py in __init__(self=<spring.Opers.Opers instance>)
   16         def __init__(self):
   17                 if 1:
   18                         self.conn = sqlplug_mysql.connect(**db_info)
   19                 else:
   20                         self.conn = None
self = <spring.Opers.Opers instance>, self.conn undefined, global sqlplug_mysql = <module 'sqlplug_mysql' from '/usr/local/lib/python2.4/site-packages/sqlplug_mysql.pyc'>, sqlplug_mysql.connect = <function connect>, global db_info = {'charset_server': 'koi8r', 'db': 'spring', 'host': '87.238.232.17', 'passwd': 'abz666', 'reconnect': 1, 'user': 'spring'}
 /usr/local/lib/python2.4/site-packages/sqlplug_mysql.py in connect(*args=(), **kwargs={'charset_server': 'koi8r', 'db': 'spring', 'host': '87.238.232.17', 'passwd': 'abz666', 'reconnect': 1, 'user': 'spring'})
  178         conn = connection()
  179         conn.autorepr_map = _autorepr_map
  180         conn.autoparse_map = _autoparse_map
  181         conn.connect(*args, **kwargs)
  182         return conn
conn = <_sqlplug_mysql.connection object>, conn.connect = <built-in method connect of _sqlplug_mysql.connection object>, args = (), kwargs = {'charset_server': 'koi8r', 'db': 'spring', 'host': '87.238.232.17', 'passwd': 'abz666', 'reconnect': 1, 'user': 'spring'}

OperationalError: (2003, "Can't connect to MySQL server on '87.238.232.17' (61)")
      args = (2003, "Can't connect to MySQL server on '87.238.232.17' (61)")