Hi, I used mysqldump in a script. But I want log the error of my mysqldump. For exemple: when I launch my script :dump.sh I have the error on my console : Code: mysqldump: Got error: 1045: Access denied for user '-padmin'@'localhost' (using password: NO) when trying to connect But I want save this error in a file (dump.log for exemple). How Can I do it? thanks
I founnd. I used the sterr. sh dump.sh 2>error.log But if you how another solution, you can give it. Thanks.