Re: mysqldb interfaceError
Thanks for you answer, but the reason I'm using a function is because I have a lot of different insertions and in some of them there is more than one action to perform.
And about the cursor, I don't quite understand how it works.
I tried your code but it throws me the following error :
in execute:
cur = self.conn.cursor()
AttributeError: cursor
Subject
Written By
Posted
Re: mysqldb interfaceError
April 19, 2011 06:13AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.