"The unexamined life is not worth living." --Socrates--
Sunday, March 20, 2011
SQL
Here's a quick and effective way to copy a MySQL database. I use it often during day to day database admin tasks.
mysqldump --single-transaction --routines -u root -prootpassword databasename > outputfile.sql
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)