The KG equation in curved geometries has the following form: $$\frac{1}{\sqrt{-g}}\partial_\mu(\sqrt{-g}~g^{\mu \nu}\partial_\nu\phi) + m^2\phi = 0,$$
where $g$ is the determinant of the metric tensor $g^{\mu \nu}$ and $m$ the mass of the field. Is it possible to reexpress the last equation as the usual KG equation in flat spacetimes defining a covariant derivative $\nabla_\mu$ in such a way that the equation reads:
$$(\square + m^2)\phi(x^\mu) = 0?$$
I don't arrive at the desired form, any help or hint?