update mysql init and ctrl script