add mac-mysql install and the usage of elasticsearch