[Bug 273938] mysql init script improvements