To turn my comment into an answer, your proof is correct up to the step
$$ \frac{\mathrm{d} u}{u} = \frac{\mathrm{d} v}{v} $$
At that point, as others have said, you forget to add the constants of integration when you integrate:
$$ \ln u + \mathrm{C_1} = \ln v + \mathrm{C_2} $$
Substituting $\mathrm{C} = \mathrm{C}_2 - \mathrm{C}_1$ gives us:
$$\begin{align}
\ln u &= \ln v + \mathrm{C} \\
\ln u - \ln v &= \mathrm{C} \\
\end{align}$$
Substituting for $\mathrm{C}$ in the first equation just gets us $\ln u = \ln u$, which is clearly no contradiction. A little more interesting, perhaps, is to turn our identity for $\mathrm{C}$, $\ln u - \ln v$, into $\ln \frac{u}{v}$ and then substitute that into the other equation above to get:
$$\begin{align}
\ln u &= \ln v + \ln \frac{u}{v} \\
&= \ln \left( v \cdot \frac{u}{v} \right)
\end{align}$$
Now take the exponential of both sides.
$$\begin{align}
u &= v \cdot \frac{u}{v} \\
3x &= 5x \cdot \frac{3x}{5x} \\
3 &= 5 \cdot \frac{3}{5}
\end{align}$$
This is presumably what Serge Seredenko meant when he said in his comment that 3 is equal to 5, “[i]n this case multiplied by a constant.”