Installation, Configuration, & Upgrades  :: 
Moving a Postnuke site to a different database
 Top

  • OK, here's an interesting one.

    A client asked me to move his PostNuke site from his old hosting provider to his new one. I backed up the DB and all the files and transfered them to the new server.

    At the new service, the database has a different name, uid and pw than at the old service and I can't change them. So, I loaded up all the data in the new database and accessing the data with phpMyAdmin everything seems OK.

    I then figure I have to change the config.php file to reflect the new DB. I can easily alter the dbhost and dbname entries, but how do I get the dbuname and dbpass entries set correctly? They look like hashes.

    And do I need to do anything else to get the site working?

    Thanks.
  • Get the PostNuke Swiss Army Knife, from the pnDownloads area (http://downloads.postnuke.com) and use it to get the new encoded database connection info to go in the config.php.
  • Thanks for the super quick response! I got it and it fixed me right up. Many thanks.
This list is based on the users active over the last 60 minutes.