change mysql hostname key to host since hostname will be depricated