スキーマだけをエクスポートする。

  • 構文。

mysqldump -u ユーザー名 -p -d データベース名 > エクスポートするファイル名

  • 例。

mysqldump -u hchuno -p -d mychuno > schema_mychuno.sql