work to switch to mysql