Support older mysql servers.