Python and MySQL 4.1
From: webdsine (webdsine_at_yahoo.ca)
Date: 10/31/04
- Next message: Gary Robinson: "Re: Python-list Info Page"
- Previous message: Bengt Richter: "Re: "number-in-base" ``oneliner''"
- Next in thread: Michael Fuhr: "Re: Python and MySQL 4.1"
- Reply: Michael Fuhr: "Re: Python and MySQL 4.1"
- Reply: Mike Meyer: "Re: Python and MySQL 4.1"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 31 Oct 2004 03:43:16 -0000 To: python-list@python.org
Hello. I just upgrade to MySQL 4.1 from 4.0, and I'm having trouble
retrieving text from the DB in the proper format using the MySQLdb
module in Python. All text fields that are retrieved are in this
format:
array('c', 'Whatever is in the field')
The only data that's not displayed in that format are enum values, and
when I was still in v4.0 only 'Whatever is in the field' is
retrieved.
Are there any quick fixes? I've completed my Python application
already, so I don't really want to go in and mess with the source code
if I don't need to.
Thanks in advance.
- Next message: Gary Robinson: "Re: Python-list Info Page"
- Previous message: Bengt Richter: "Re: "number-in-base" ``oneliner''"
- Next in thread: Michael Fuhr: "Re: Python and MySQL 4.1"
- Reply: Michael Fuhr: "Re: Python and MySQL 4.1"
- Reply: Mike Meyer: "Re: Python and MySQL 4.1"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|