If i had a shell script which ran a mysql command like so
/usr/bin/mysql -u user -ppassword database_name < /path/file.sql
and the sql file contained an update command, what would happen to the 'number of rows affected' output? Where would it go?
I've seen it cleaned up like this before
What would happen if dev/null was full?
What would happen if the job running the script did not have permission to access /dev/null? Is this possible?