mysql fieldnames

Mike C. Fletcher mcfletch at
Tue Aug 12 00:50:13 CEST 2003

Here's the code I use for it:

(You can scroll down to the bottom to see the low-level queries).

Basically MySQL has a "show" SQL query for the database types.  You can 
use regular DB-API calls to get the results of running those queries.


rdack wrote:

>how can i retrieve database names and fieldnames from mysql 4 using
>MySQLdb 0.9.2 from python 2.3?
>(on mac osx 10.2.6)
  Mike C. Fletcher
  Designer, VR Plumber, Coder

More information about the Python-list mailing list