--> --> -->
 
 
<class '_mysql_exceptions.OperationalError'>
Python 2.7.1: /opt/ts/python/2.7/bin/python
Thu Jun 20 08:41:18 2013

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/drtrigon/public_html/cgi-bin/sum_cat_disc.py in ()
    405 #db = MySQLdb.connect(db='enwiki_p', host="enwiki-p.rrdb.toolserver.org", read_default_file="/home/drtrigon/.my.cnf")
    406 #db = MySQLdb.connect(db=wiki+'wiki_p', host=wiki+"wiki-p.rrdb.toolserver.org", read_default_file="/home/drtrigon/.my.cnf")
=>  407 db = MySQLdb.connect(db='u_drtrigon', host=wiki+"wiki-p.userdb.toolserver.org", read_default_file="/home/drtrigon/.my.cnf")
    408 # prepare a cursor object using cursor() method
    409 cursor = db.cursor()
db undefined, MySQLdb = <module 'MySQLdb' from '/opt/ts/python/2.7/lib/python2.7/site-packages/MySQLdb/__init__.pyc'>, MySQLdb.connect = <function Connect>, host undefined, wiki = 'fi', read_default_file undefined
 /opt/ts/python/2.7/lib/python2.7/site-packages/MySQLdb/__init__.py in Connect(*args=(), **kwargs={'db': 'u_drtrigon', 'host': 'fiwiki-p.userdb.toolserver.org', 'read_default_file': '/home/drtrigon/.my.cnf'})
     79     """Factory function for connections.Connection."""
     80     from connections import Connection
=>   81     return Connection(*args, **kwargs)
     82 
     83 connect = Connection = Connect
Connection = <class 'MySQLdb.connections.Connection'>, args = (), kwargs = {'db': 'u_drtrigon', 'host': 'fiwiki-p.userdb.toolserver.org', 'read_default_file': '/home/drtrigon/.my.cnf'}
 /opt/ts/python/2.7/lib/python2.7/site-packages/MySQLdb/connections.py in __init__(self=<_mysql.connection closed at 86eda94>, *args=(), **kwargs={'db': 'u_drtrigon', 'host': 'fiwiki-p.userdb.toolserver.org', 'read_default_file': '/home/drtrigon/.my.cnf'})
    186         kwargs2['client_flag'] = client_flag
    187 
=>  188         super(Connection, self).__init__(*args, **kwargs2)
    189 
    190         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 86eda94>, ).__init__ = <bound method Connection.__init__ of <_mysql.connection closed at 86eda94>>, 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': 'u_drtrigon', 'host': 'fiwiki-p.userdb.toolserver.org', 'read_default_file': '/home/drtrigon/.my.cnf'}

<class '_mysql_exceptions.OperationalError'>: (1049, "Unknown database 'u_drtrigon'")
      args = (1049, "Unknown database 'u_drtrigon'")
      message = ''