switch to mysql

migrate from postgresql to mysql