switch from .db to mysql