Skip to content

Instantly share code, notes, and snippets.

View dprevite's full-sized avatar
🐈

Dan Previte dprevite

🐈
View GitHub Profile
@dprevite
dprevite / dump_tables.sh
Created December 16, 2011 15:39
Dump every table from every database into its own sql file
#!/bin/bash
# Simple MySQL dump script which dumps each database to a compressed
# file with the date included in the file name
MYSQL='/usr/bin/mysql'
MYSQLDUMP='/usr/bin/mysqldump'
DUMPOPTS='--opt --hex-blob --skip-extended-insert'