I am wondering what a .sql file looks like. How do I create one from mysqldump?
+3
A:
mysqldump -u <user> -p <database> > out.sql
It should prompt for the password.
Kalium
2009-04-03 00:51:55
so it just looks like a text file with commands? That's simple. Thanks.
2009-04-03 00:53:59
yeah it's just a text file
lc
2009-04-03 00:56:03
Close, but not exactly a plain text file. See http://marksverbiage.blogspot.com/2007/12/mysql-dumps-are-not-text-files.html
Bill Karwin
2009-04-03 01:34:00