Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 286 Bytes

mysql-dump.md

File metadata and controls

19 lines (13 loc) · 286 Bytes

MySQL 덤프

  • 덤프하기
mysqldump -u [USERNAME] -p [DATABASE] > [FILENAME]
  • 원하는 테이블만 덤프하기
mysqldump -u [USERNAME] -p [DATABASE] [TABLENAME] > [FILENAME]
  • 복구하기
mysql -u [USERNAME] -p [DATABASE] < [FILENAME]