Installation, Configuration, & Upgrades  :: 
Migrating PostNuke site
 Top

  • the site I help run is moving from one webhost to another. I need to migrate the entire site, so what I did was this: moved the PostNuke directory and below over to the new host, now I am assuming all I should have to change is that the database information in the config.php file, right? We will have a new DB username and pw... how do I change them though, the user and pass in config.php seem to be encrypted in some manner.... so I am assuming I cannot just put in the new stuff?

    Is there anything else I am missing (besides obviously importing the database). Thanks!
  • Just change the dbuname and dbpass to what it should be and turn encoding off (encoded = '0' ) Read this post for more details.

    Just remember to use the PSAK utility to re-encode your values once you've got it working.
  • thanks man!

    Oh and P.S. sorry for asking about something already answered, I would have search the archives but I wasn't sure what to search for... thanks again!
  • Hate to be such a 'tard but I'm so close to figuring this out. Arrgh.

    I've got the site moved over (same web host, different account) and made what I think are the correct changes to config.php. I have PSAK ready to re-encode.

    What are the steps for creating and importing the DB? I exported the old DB into a .SQL file.

    Do I create the DB first in the usual way, add the user, etc., THEN do the import via phpMyAdmin

    Or does the import create the DB, users, and everything?

    Right now all I get is "Problem in Database Connection" and I know that's because I snarfed the config somehow.

    Thanks, kj
This list is based on the users active over the last 60 minutes.