HP-UX Internet Express Version A.16.00 for HP-UX 11i Version 2 Read Before Installing or Updating
4. If you have previous version of the Internet Express MySQL product installed, you must manually
uninstall it before installing the latest version. If you do not have a previous version of Internet
Express MySQL, continue to Step 6.
To upgrade to the latest version of Internet Express MySQL from a previous version, follow
these steps:
a. Back up the MySQL database.
b. Follow these steps for each database directory to be migrated:
1) Use the mysqldump utility for the current version of MySQL on your system to create
a dump of all the databases in that database directory. For more information on the
mysqldump utility, see the mysqldump manpage.
2) Remove or relocate this database directory. If your previous database directory was
created using an HP-UX Internet Express MySQL version and you only worked with
the default database, the database directory is /var/opt/iexpress/mysql. The
default directory must be removed even if it was not used.
c. Use swremove to remove HP-UX Internet Express MySQL.
d. Install the new HP-UX Internet Express MySQL depot.
e. Initialize all individual database directories using the mysql_install_db script. The
depot installation automatically creates a default database directory under /var/opt/
iexpress/mysql.
f. Restore each individual database directory using the mysql command. For more
information on the mysql command, see the mysql manpages.
For more information on migrating to MySQL 5.0.67 or later, see:
http://dev.mysql.com/doc/mysql/en/upgrade.html
5. If you have a previous version of the Internet Express PostgreSQL product installed, you must
first manually uninstall it before installing the latest version. If you do not have a previous
version of Internet Express PostgreSQL, continue to Step 7.
To upgrade to the latest version of Internet Express PostgreSQL from a previous version, follow
these steps:
a. Back up the PostgreSQL databases.
b. Follow these steps for each database cluster to be migrated:
1) Use the pg_dumpall utility of the current version of PostgreSQL on your system to
create a dump of all the databases in the database cluster. For more information on
the pg_dumpall utility, see the pg_dumpall manpage.
2) Remove or relocate the database directory. If your previous database directory was
created using an HP-UX Internet Express PostgreSQL, and you only worked with the
default database, then your database directory will be /var/opt/iexpress/
postsql. The default directory must be removed even if it was not used.
c. Use swremove to remove the current HP-UX Internet Express PostgreSQL installation.
d. Install the new HP-UX Internet Express PostgreSQL software.
e. Initialize all the individual database clusters using the initdb script. The depot installation
automatically creates a default database directory, /var/opt/iexpress/postgresql.
f. Restore each individual database directory using the psql command. For more information
on the psql command, see the psql manpages.
g. For more information on migrating to PostgreSQL 8.2.11, see:
http://www.postgresql.org/docs/8.2/static/install-upgrading.html
6. To validate the installation of the HP-UX Internet Express components, enter the following
command:
$ swverify <component-name>
8