Adding gitignore, and fixing the mysql setup.