MySQL setup seems to be working from shell script