\[ y''(x)=2 y(x) \csc ^2(x) \] ✓ Mathematica : cpu = 0.0885472 (sec), leaf count = 54
\[\left \{\left \{y(x)\to \frac {\cos (x) \left (c_2 \log \left (\sqrt {-\sin ^2(x)}+\cos (x)\right )+c_1\right )-c_2 \sqrt {-\sin ^2(x)}}{\sqrt {-\sin ^2(x)}}\right \}\right \}\]
✓ Maple : cpu = 0.254 (sec), leaf count = 50
\[ \left \{ y \left ( x \right ) ={\frac {-i\ln \left ( \cos \left ( 2\,x \right ) +i\sin \left ( 2\,x \right ) \right ) \sin \left ( 2\,x \right ) {\it \_C2}+{\it \_C1}\,\sin \left ( 2\,x \right ) +2\,{\it \_C2}\, \left ( \cos \left ( 2\,x \right ) -1 \right ) }{\cos \left ( 2\,x \right ) -1}} \right \} \]