belongs to the following code
con = MySQLdb.connect(...)
cursor = con.curser()
cursor.execute(*)
If I use "SELECT * FROM table;" that's not working.
If I use instead "SELECT column1, column2, ..., columnN FROM table;"
that works during the same connect (same username, same table, same rights....)
I use:
MySQL 5
Python 2.5
MySQLdb 1.2.1
(Ubuntu 7.04 on a Fujitsu Simens Lifebook)
Can you help me with that?
greetings, Timo Stolz, timo.stolz@gerade-deshalb.org
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello, I found something strange:
belongs to the following code
con = MySQLdb.connect(...)
cursor = con.curser()
cursor.execute(*)
If I use "SELECT * FROM table;" that's not working.
If I use instead "SELECT column1, column2, ..., columnN FROM table;"
that works during the same connect (same username, same table, same rights....)
I use:
MySQL 5
Python 2.5
MySQLdb 1.2.1
(Ubuntu 7.04 on a Fujitsu Simens Lifebook)
Can you help me with that?
greetings, Timo Stolz, timo.stolz@gerade-deshalb.org
Define "not working". What actually happens?
thank you for asking,
a day later it worked. I'm sorry. mod_python probably chached a precompiled version of the script, that still had an programming error.