"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
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment