테이블단위로 mysqldump를 하려면
mysqldump -u아이디 -p 디비명 테이블명 > abcd.sql
이렇게 하는게 아닌가요?
데이터베이스 단위로는 잘 되는데 테이블까지 적으니
abcd.sql 에 저장되는 내용은 사용법이 나오네요.
Usage: mysql [OPTIONS] [database]
-?, --help Display this help and exit.
-I, --help Synonym for -?
--auto-rehash Enable automatic rehashing. One doesn't need to use
'rehash' to get table and field completion, but startup
and reconnecting may take a longer time. Disable with
mysqldump -u아이디 -p 디비명 테이블명 > abcd.sql
이렇게 하는게 아닌가요?
데이터베이스 단위로는 잘 되는데 테이블까지 적으니
abcd.sql 에 저장되는 내용은 사용법이 나오네요.
Usage: mysql [OPTIONS] [database]
-?, --help Display this help and exit.
-I, --help Synonym for -?
--auto-rehash Enable automatic rehashing. One doesn't need to use
'rehash' to get table and field completion, but startup
and reconnecting may take a longer time. Disable with
답변 3개
2018-11-03 (토) 17:52:30
많은 도움이 되었습니다. 감사합니다.
2014-09-13 (토) 23:08:09
아무리 살펴봐도 똑같은 구문을 리눅스쉘에선 정상작동하는데 윈도우cmd에서 작동을 안하는거 같습니다.
2014-06-01 (일) 02:30:57
사용법이 나오는 건 명령 구문이 틀렸기 때문입니다.
mysqldump --help를 보시거나 구글링 해보시면 금방 나올겁니다
답변을 작성하려면 로그인이 필요합니다.