dump table and data with mysqldb

Hoang tr at jotsite.com
Wed Nov 5 02:22:44 CET 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