Re: Inserting into a database

2009-10-11 Thread Stephen Hansen
On Sun, Oct 11, 2009 at 8:56 PM, Dennis Lee Bieber wrote: > On Sun, 11 Oct 2009 17:00:42 -0700, Stephen Hansen > declaimed the following in > gmane.comp.python.general: > > > Otherwise, the only thing anyone will be able to do is guess wildly. > Which > > no one is likely to do :) > > > A

Re: Inserting into a database

2009-10-11 Thread Stephen Hansen
On Sun, Oct 11, 2009 at 5:06 PM, aditya shukla wrote: > this what the code looks like. > > > db = MySQLdb.connect("localhost","root","juventus12","factoids",charset = > "utf8", use_unicode = True ) > cursor= db.cursor() # i added charset = "utf8", use_unicode = True just > now and changed the ch

Re: Inserting into a database

2009-10-11 Thread aditya shukla
On Sun, Oct 11, 2009 at 5:06 PM, aditya shukla wrote: > Hello Stephen, > > > I have put the code and the traceback.Can you please help me now? .I am > scratching my head :) > > I am using python 2.6 on windows 7 and MySQLdb to make connections to the > database.The issue here is that I am no

Re: Inserting into a database

2009-10-11 Thread aditya shukla
Hello Guys I am using python 2.6 on windows 7 and MySQLdb to make connections to the database.The issue here is that I am not able to insert from the python script to the database.When I run the same query in mysql query brower then the insert statement works .I am able to select from the databa

Re: Inserting into a database

2009-10-11 Thread Stephen Hansen
On Sun, Oct 11, 2009 at 4:46 PM, aditya shukla wrote: > Hello Guy's > > I am using python 2.6 on windows 7 and MySQLdb to make connections to the > database.The issue here is that I am not able to insert from the python > script to the database.When I run the same query in mysql query brower then

Inserting into a database

2009-10-11 Thread aditya shukla
Hello Guy's I am using python 2.6 on windows 7 and MySQLdb to make connections to the database.The issue here is that I am not able to insert from the python script to the database.When I run the same query in mysql query brower then the insert statement works .I am able to select from the databa