Just for the record, I went ahead and did a search and replace... I had nothing to lose really.
Find and replace worked pretty good. I first did it to the connection, then to the line $database_localhost, then to $localhost and so far the whole thing seems operational.