mkoryak
mkoryak

Reputation: 57928

How can I mysqldump the contents of a few tables or just the schema?

Can you help me with the following:

Upvotes: 0

Views: 233

Answers (1)

Ignacio
Ignacio

Reputation: 5720

mysqldump -u username -p database [table] > file.sql

Use the --no-data option to dump just the schema.

mysqldump --no-data ...

Upvotes: 3

Related Questions