Re: Python and MySQL 4.1
From: Michael Fuhr (mfuhr_at_fuhr.org)
Date: 10/31/04
- Next message: Ganesan R: "Re: ctypes 0.9.2 released"
- Previous message: Robert Brewer: "RE: Python-list Info Page"
- In reply to: webdsine: "Python and MySQL 4.1"
- Next in thread: Mike Meyer: "Re: Python and MySQL 4.1"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 30 Oct 2004 23:07:31 -0600
"webdsine" <webdsine@yahoo.ca> writes:
> 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.
Could you post an example that demonstrates the problem? It would
be helpful to see the CREATE TABLE and INSERT statements that show
what the data looks like, the Python code that shows how you're
retrieving the data, the program's output with MySQL 4.0, and the
program's output with MySQL 4.1.
-- Michael Fuhr http://www.fuhr.org/~mfuhr/
- Next message: Ganesan R: "Re: ctypes 0.9.2 released"
- Previous message: Robert Brewer: "RE: Python-list Info Page"
- In reply to: webdsine: "Python and MySQL 4.1"
- Next in thread: Mike Meyer: "Re: Python and MySQL 4.1"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|