turn mysql into an application