Commented code, changed how connection to mySQL host happens