changed MySQL config for AWS and localhost