only include mysql if necessary