Re: MySQLdb Problem

2013-08-31 Thread John Smith
On Sat, 31/8/13, Chris Angelico wrote: Subject: Re: MySQLdb Problem To: python-list@python.org Date: Saturday, 31 August, 2013, 4:18 PM > Do your Python and your MySQLdb match? I haven't confirmed, > but I'm > pretty sure you&

Re: MySQLdb Problem

2013-08-31 Thread Chris Angelico
On Sun, Sep 1, 2013 at 8:17 AM, John Smith wrote: > > > On Sat, 31/8/13, Chris Angelico wrote: > > Subject: Re: MySQLdb Problem > To: python-list@python.org > Date: Saturday, 31 August, 2013, 4:18 PM > >> Do your Py

Re: MySQLdb Problem

2013-08-31 Thread Chris Angelico
On Sat, Aug 31, 2013 at 6:38 PM, John Smith wrote: > Hi; > Since there is no list for MySQLdb, I'm hoping you can help me. I have > installed, de-installed and reinstalled this s/w and MySQL itself on my Win8 > box. However, when I go to use it from a script, I get the following error: > > "C:\P

MySQLdb Problem

2013-08-31 Thread John Smith
Hi; Since there is no list for MySQLdb, I'm hoping you can help me. I have installed, de-installed and reinstalled this s/w and MySQL itself on my Win8 box. However, when I go to use it from a script, I get the following error: "C:\Python27\lib\site-packages\MySQLdb\__init.py__", line 27 in imp

Re: Analyzing Python GC output - turns out to be MySQLdb problem

2008-01-11 Thread John Nagle
Francesco Guerrieri wrote: > On Jan 11, 2008 6:20 PM, John Nagle <[EMAIL PROTECTED]> wrote: >> Tried: >> print item.dir() >> got: >> 'cell' object has no attribute 'dir' It's a problem inside MySQLdb's "connections.py": def _get_unicode_literal(): def uni

Re: mysqldb problem

2006-07-20 Thread Lawrence D'Oliveiro
In message <[EMAIL PROTECTED]>, liupei wrote: > when I set mysql some fields collate utf8_bin, and then fetch these > fields is array.array,not the string I expected Can you post some example code? -- http://mail.python.org/mailman/listinfo/python-list

mysqldb problem

2006-07-19 Thread liupei
when I set mysql some fields collate utf8_bin, and then fetch these fields is array.array,not the string I expected -- http://mail.python.org/mailman/listinfo/python-list

MySQLdb problem

2006-05-06 Thread liupei
I am use mod_python3.2.8,MySQL-python-1.2.1_p2,mysql5.0.20,centOS when I run the script below(I have also saved this script in utf-8): #coding: utf-8 from MySQLdb import connect connection=connect(user='root',passwd='',host='localhost',db='test') cursor = connection.cursor() cursor.execute("INSERT

Re: MySQLdb problem with mod_python, please help

2004-11-30 Thread ws Wang
Damjan <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > > MySQLdb is working fine at command line, however when I tried to use > > it with mod_python, it give me a "server not initialized" error. > > Maybe its this problem? > http://www.modpython.org/FAQ/faqw.py?req=show&file=faq

Re: MySQLdb problem with mod_python, please help

2004-11-30 Thread Damjan
> MySQLdb is working fine at command line, however when I tried to use > it with mod_python, it give me a "server not initialized" error. Maybe its this problem? http://www.modpython.org/FAQ/faqw.py?req=show&file=faq02.013.htp -- damjan -- http://mail.python.org/mailman/listinfo/python-list