Migrating your LikeMinds Oracle database

(AIX)(Solaris)(Windows) If you are using Oracle, migrate your database using the following scripts. Run these scripts in order, and check their output to make sure no problems have occurred before you proceed to run the next script.

  1. Back up your current LikeMinds database. Refer to the Oracle product documentation for backup instructions.
  2. Create a new Oracle user for LikeMinds. Refer to the Oracle product documentation to see how to create a new Oracle user.

    Note: If the script applies to an existing database, there is no need to create a new Oracle user.

  3. From a command line window, scroll to the following directory:
    • (Linux)WC60_installdir/likeminds/migration/oracle
    • (Windows)WC60_installdir\likeminds\migration\oracle
  4. Connect to the database using SQLPlus:
    sqlplus user_id/user_password@LikMinds_database_name
    
  5. Clean up all user and item data that is not used by the WebSphere Commerce integration by running the lm_dataClean.sql script:
    start lm_dataClean.sql
    
  6. Migrate the database schema by running the lm_migration.sql script:
    start lm_migration.sql
    
  7. Switch to the following directory:
    • (Linux)WC60_installdir/likeminds/config
    • (Windows)WC60_installdir\likeminds\config
    Populate the database with the LikeMinds configuration data by running the lm_Props.sql script:
    start lm_Props.sql
    
  8. Switch back to the following directory:
    • (Linux)WC60_installdir/likeminds/migration/oracle
    • (Windows)WC60_installdir\likeminds\migration\oracle

    Rebuild the LikeMinds database mentor table by running the lm_rebuild_mentor.sql script:

    start lm_rebuild_mentor.sql
    
  9. Exit the database connection as follows:
    quit