Cannot run a single MySQLdb execute....

Νίκος Γκρ33κ nikos.gr33k at gmail.com
Wed Mar 27 23:50:48 EDT 2013


I'am about to go nuts with python 3.2.3

Do you see somehtign wrong with the following statement?

cur.execute( '''SELECT hits FROM counters WHERE url = ?''', (page,) )
data = cur.fetchone()

because as you can see by visiting my webpage at http://superhost.gr it produces an error and i dont have  aclue why.

Please help. i'am using MySQLdb



More information about the Python-list mailing list