modified mysql password generate rogic