Fix mysql username, and turn auto commit off.