Look at http://askubuntu.com/questions/79257/how-do-i-install-mysql-without-a-password-prompt for options