resolving mysql