I am attempting to help a friend, who is only slightly less knowledgeable than I.
In his attempt to move his WordPress installation from an old hosting account to a new, he simply copied the entire domain directory from his public_html directory to his hard drive, and then uploaded it to his new hosting account public_html directory. He now gets;
Error establishing a database connection
I have read a number of past posts, but none of them seem to exactly deal with a problem created in this manner. I would appreciate any assistance. I am not very knowledgeable regarding hosting accounts, etc., so feel free to be simplistic in your replies.