--> -->
 
 
OperationalError
Python 2.4.3: /usr/bin/python2
Sun Dec 10 19:02: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.

 /home/content/c/h/e/cherilovesme/html/cgi-bin/treasure/loader.py
    5 import sys
    6 #import treasuresqlNew as treasuresql
    7 import treasuresql
    8 import time
    9 form=cgi.FieldStorage()
treasuresql undefined
 /home/content/c/h/e/cherilovesme/html/cgi-bin/treasure/treasuresql.py
   56                 return self.fetchall()[0][0]
   57                 
   58 class globals:
   59     con=sql()
   60 
builtin globals = <built-in function globals>
 /home/content/c/h/e/cherilovesme/html/cgi-bin/treasure/treasuresql.py in globals()
   57                 
   58 class globals:
   59     con=sql()
   60 
   61 class load_db_from_file(sql):
con undefined, global sql = None
 /home/content/c/h/e/cherilovesme/html/cgi-bin/treasure/treasuresql.py in __init__(self=<treasuresql.sql instance>)
   10 class sql:
   11         def __init__(self):
   12                 self.connect()
   13                 pass
   14         #connect to the database
self = <treasuresql.sql instance>, self.connect = <bound method sql.connect of <treasuresql.sql instance>>
 /home/content/c/h/e/cherilovesme/html/cgi-bin/treasure/treasuresql.py in connect(self=<treasuresql.sql instance>)
   18                                 user="cherilovesme",
   19                                 passwd="treasure123",
   20                                 db="cherilovesme"
   21                            )
   22                 self.cursor=self.sql.cursor()
db undefined
 /usr/lib/python2.4/site-packages/MySQLdb/__init__.py in Connect(*args=(), **kwargs={'db': 'cherilovesme', 'host': 'mysql177.secureserver.net', 'passwd': 'treasure123', 'user': 'cherilovesme'})
   64     """Factory function for connections.Connection."""
   65     from connections import Connection
   66     return Connection(*args, **kwargs)
   67 
   68 connect = Connection = Connect
Connection = <class 'MySQLdb.connections.Connection'>, args = (), kwargs = {'db': 'cherilovesme', 'host': 'mysql177.secureserver.net', 'passwd': 'treasure123', 'user': 'cherilovesme'}
 /usr/lib/python2.4/site-packages/MySQLdb/connections.py in __init__(self=<_mysql.connection closed at 897cc04>, *args=(), **kwargs={'db': 'cherilovesme', 'host': 'mysql177.secureserver.net', 'passwd': 'treasure123', 'user': 'cherilovesme'})
  132             del kwargs2['use_unicode']
  133                 
  134         super(Connection, self).__init__(*args, **kwargs2)
  135 
  136         self.charset = self.character_set_name().split('_')[0]
builtin super = <type 'super'>, global Connection = <class 'MySQLdb.connections.Connection'>, self = <_mysql.connection closed at 897cc04>, ).__init__ = <bound method Connection.__init__ of <_mysql.connection closed at 897cc04>>, args = (), kwargs2 = {'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': 'cherilovesme', 'host': 'mysql177.secureserver.net', 'passwd': 'treasure123', 'user': 'cherilovesme'}

OperationalError: (2005, "Unknown MySQL server host 'mysql177.secureserver.net' (1)")
      args = (2005, "Unknown MySQL server host 'mysql177.secureserver.net' (1)")