Ah, I ran the install.php on it and corrected the database paths, so all is well again now.