MySQL Forums
Forum List  »  Connector/Python

Re: Python Multiline
Posted by: Grant Paton-Simpson
Date: August 07, 2007 04:18AM

I use cursor(), not getCursor(). Here is what I get when I changed to use getCursor():

curMySQL = connMySQL.getCursor()
AttributeError: 'Connection' object has no attribute 'getCursor'

Try cursor=db.cursor() instead.

Options: ReplyQuote

Written By
July 16, 2007 07:45PM
July 19, 2007 01:26PM
Re: Python Multiline
August 07, 2007 04:18AM

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.