0

I am wondering what a .sql file looks like. How do I create one from mysqldump?

1 Answer 1

3
mysqldump -u <user> -p <database> > out.sql

It should prompt for the password.

Sign up to request clarification or add additional context in comments.

2 Comments

so it just looks like a text file with commands? That's simple. Thanks.
Close, but not exactly a plain text file. See marksverbiage.blogspot.com/2007/12/…

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.