fixed mysql password change

fixed command to fix mysql password
fixed option to check apache and mysql ports...