Jan 17, 2001 #1 snail Technical User Jan 17, 2001 2 CA Is it possible to dump a database in to a file from the mysql client to achieve a similar result as would be gained from using the mysqldump client.
Is it possible to dump a database in to a file from the mysql client to achieve a similar result as would be gained from using the mysqldump client.
Jan 17, 2001 1 #2 rycamor Programmer Jun 3, 1999 1,426 US I don't think you can dump a whole database that way, but you can dump individual tables. Just use the SELECT INTO OUTFILE syntax. See http://www.mysql.com/doc/S/E/SELECT.html(I don't know if this is available on older versions of MySQL) Also see the BACKUP TABLE syntax at http://www.mysql.com/doc/B/A/BACKUP_TABLE.html Upvote 0 Downvote
I don't think you can dump a whole database that way, but you can dump individual tables. Just use the SELECT INTO OUTFILE syntax. See http://www.mysql.com/doc/S/E/SELECT.html(I don't know if this is available on older versions of MySQL) Also see the BACKUP TABLE syntax at http://www.mysql.com/doc/B/A/BACKUP_TABLE.html