원본 서버에서의 mysqldump 옵션이 대상 서버에서 호환되지 않아
고생을 했을 때가 있었다.
그때 알게된 유용한 옵션이 있는데, --skip-opt 이다.
이에 대한 mysqladmin 의 도움말을 보면 다음과 같다.
--skip-opt Disable --opt. Disables --add-drop-table, --add-locks, --create-options, --quick, --extended-insert, --lock-tables, --set-charset, and --disable-keys. |
서버 간 MySQL의 버전 차이가 나서 잘 안된다면 위 옵션을 붙여서 쓰면 유용할 것이다.