Work on import db from sql.