dump table and data with mysqldb

Hoang tr at jotsite.com
Tue Nov 4 20:22:44 EST 2003


does anyone know how to dump the table structure and data from a mysql
database?  I am connected to the database externally so "SELECT * FROM
database INTO OUTFILE file" doesn't work for me.  However, external tools
have been able to do it (Mascon).  I presume this might be a common thing
where people need to backup their databases programatically from MySQLdb.

Hoang Do
http://jotsite.com






More information about the Python-list mailing list