AnVir
Verified User
- Joined
- Feb 13, 2008
- Messages
- 28
After upgrade MySQL from 5.0 to 5.1 all dumps in user's backups contain as first line:
So databases backups cannot be restored automatically...
Please, suggest where I can change backup or restore script to avoid it (change mysqldump options or insert sed parser to crop this line)...
Now i see only way to fix it - rename mysqldump binary and replace it with my own script, changing --all option.
Code:
Warning: The option '--all' is deprecated and will be removed in a future release. Please use --create-options instead.
Please, suggest where I can change backup or restore script to avoid it (change mysqldump options or insert sed parser to crop this line)...
Now i see only way to fix it - rename mysqldump binary and replace it with my own script, changing --all option.