Moved mysql setup to bottom