The error implies that the connections file is still the old one and wasn't updated. mysql_pconnect() was the old way to connect to the database. It isn't used in the latest version.
Maybe copy the file from a working site and manually update the connection information in that file.