MySQL Forums :: Connector/Python :: mysqldb interfaceError

Advanced Search

Re: mysqldb interfaceError
Posted by: johanna royer ()
Date: April 19, 2011 06:13AM

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

Options: ReplyQuote

Subject Written By Posted
mysqldb interfaceError johanna royer 04/19/2011 03:37AM
Re: mysqldb interfaceError Geert Vanderkelen 04/19/2011 05:34AM
Re: mysqldb interfaceError johanna royer 04/19/2011 06:13AM
Re: mysqldb interfaceError johanna royer 04/20/2011 03:54AM

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.