move ghost to mysql