| OperationalError | Python 3.9.2: /usr/bin/python Wed May 6 06:16:55 2026 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
| /kunden/homepages/4/d151410363/htdocs/StoreWOW.com/index.py in <module> |
| 8 |
| 9 # local host |
| => 10 db = MySQLdb.connect(host="sql.freedb.tech",user="freedb_damian", passwd="krm*nSJC263Scv&", db="freedb_storewow", port=3306) |
| 11 # production |
| 12 #db = MySQLdb.connect(host="db588226196.db.1and1.com",user="dbo588226196", passwd="StoreW0W!!@@##", db="db588226196", port=3306) |
| db undefined, MySQLdb = <module 'MySQLdb' from '/usr/lib/python3/dist-packages/MySQLdb/__init__.py'>, MySQLdb.connect = <function Connect>, host undefined, user undefined, passwd undefined, port undefined |
| /usr/lib/python3/dist-packages/MySQLdb/__init__.py in Connect(*args=(), **kwargs={'db': 'freedb_storewow', 'host': 'sql.freedb.tech', 'passwd': 'krm*nSJC263Scv&', 'port': 3306, 'user': 'freedb_damian'}) |
| 82 """Factory function for connections.Connection.""" |
| 83 from MySQLdb.connections import Connection |
| => 84 return Connection(*args, **kwargs) |
| 85 |
| 86 connect = Connection = Connect |
| Connection = <class 'MySQLdb.connections.Connection'>, args = (), kwargs = {'db': 'freedb_storewow', 'host': 'sql.freedb.tech', 'passwd': 'krm*nSJC263Scv&', 'port': 3306, 'user': 'freedb_damian'} |
| /usr/lib/python3/dist-packages/MySQLdb/connections.py in __init__(self=<_mysql.connection open to '(null)'>, *args=(), **kwargs={'db': 'freedb_storewow', 'host': 'sql.freedb.tech', 'passwd': 'krm*nSJC263Scv&', 'port': 3306, 'user': 'freedb_damian'}) |
| 164 autocommit = kwargs2.pop('autocommit', False) |
| 165 |
| => 166 super(Connection, self).__init__(*args, **kwargs2) |
| 167 self.cursorclass = cursorclass |
| 168 self.encoders = dict([ (k, v) for k, v in conv.items() |
| builtin super = <class 'super'>, global Connection = <class 'MySQLdb.connections.Connection'>, self = <_mysql.connection open to '(null)'>, ).__init__ = <bound method Connection.__init__ of <_mysql.connection open to '(null)'>>, args = (), kwargs2 = {'client_flag': 196608, 'conv': {<class 'int'>: <function Thing2Str>, <class 'float'>: <function Float2Str>, <class 'NoneType'>: <function None2NULL>, <class 'array.array'>: <function array2Str>, <class 'bool'>: <function Bool2Str>, <class 'datetime.date'>: <function Thing2Literal>, <class 'datetime.datetime'>: <function DateTime2literal>, <class 'datetime.timedelta'>: <function DateTimeDelta2literal>, <class 'set'>: <function Set2Str>, <class 'decimal.Decimal'>: <function Decimal2Literal>, ...}, 'db': 'freedb_storewow', 'host': 'sql.freedb.tech', 'passwd': 'krm*nSJC263Scv&', 'port': 3306, 'user': 'freedb_damian'} |
OperationalError: (1049, "Unknown database 'freedb_storewow'")
args =
(1049, "Unknown database 'freedb_storewow'")
with_traceback =
<built-in method with_traceback of OperationalError object>