Make sure to export MYSQL_HISTFILE

I believe most shells require you to `export` a variable to make it
available outside of the script that's executing it. zsh does not, but
I'm trying to make sure that bash, at the very least, is also supported.