Fixed the mysql error params, commented out console prints