| <class '_mysql_exceptions.OperationalError'> | Python 2.7.1: /usr/bin/python Wed May 22 00:35:16 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/misza13/public_html/cgi-bin/inactive.py in |
| 48 host = 'sql-s2', |
| 49 db = 'u_misza13_power_p', |
| => 50 read_default_file = '/home/misza13/.my.cnf', |
| 51 ) |
| 52 cur = cn.cursor(DictCursor) |
| read_default_file undefined |
| /opt/ts/python/2.7/lib/python2.7/site-packages/MySQLdb/__init__.py in Connect(*args=(), **kwargs={'db': 'u_misza13_power_p', 'host': 'sql-s2', 'read_default_file': '/home/misza13/.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_misza13_power_p', 'host': 'sql-s2', 'read_default_file': '/home/misza13/.my.cnf'} |
| /opt/ts/python/2.7/lib/python2.7/site-packages/MySQLdb/connections.py in __init__(self=<_mysql.connection closed at 812f34c>, *args=(), **kwargs={'db': 'u_misza13_power_p', 'host': 'sql-s2', 'read_default_file': '/home/misza13/.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 812f34c>, ).__init__ = <bound method Connection.__init__ of <_mysql.connection closed at 812f34c>>, 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_misza13_power_p', 'host': 'sql-s2', 'read_default_file': '/home/misza13/.my.cnf'} |
<class '_mysql_exceptions.OperationalError'>: (1049, "Unknown database 'u_misza13_power_p'")
args =
(1049, "Unknown database 'u_misza13_power_p'")
message =
''