moved mysql password change after restore