mysql: redo most of start script