divide init script for git
divide init script for mysql
fix wrong variable