HP-UX Internet Express A.11.00 Product Overview Guide

d. Install the latest version of Internet Express OpenLDAP. See Step 4 for
instructions on installing the Internet Express OpenLDAP component using
the swinstall command.
e. Load data into the new OpenLDAP directory from the previously unloaded
.ldif files using the slapadd utility.
For more information on slapcat and slapadd, see the OpenLDAP manpages.
6. If you have a previous version of HP-UX Internet Express MySQL installed, you
must manually uninstall it prior to installing the latest version. If you do not have
a previous version of MySQL, continue to Step 7.
To upgrade to the new MySQL version from a previous version, follow these steps:
a. Back up your MySQL databases.
b. Follow these steps for each database directory to be migrated:
i. Use the mysqldump utility to create a dump of all the databases in the
database directory. For more information, see the mysqldump manpage.
ii. Remove or relocate the 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, then your database
directory is /var/opt/iexpress/mysql. Remove default directory
even if you do not use it.
c. Remove the current HP-UX Internet Express MySQL installation using
swremove.
d. Install the HP-UX Internet Express MySQL 5.0.51 depot. See Step 4 for
instructions on installing the Internet Express MySQL 5.0.45 component using
the swinstall command.
e. Initialize all your individual database directories using the
mysql_install_db script. The depot installation automatically creates a
default database directory under /var/opt/iexpress/mysql. If this is the
only database directory of interest to you, then you need not execute
mysql_install_db any more.
f. Restore each individual database directory using the mysql command. Details
are available in the MySQL manpages.
Information regarding migration to MySQL 5.0.51 is also available at
http://dev.mysql.com/doc/refman/5.0/en/upgrading-from-4-1.html
7. If you have any previous version of the Internet Express PostgreSQL product
installed, you must first manually uninstall the component prior to installing the
latest version. If you do not have a previous version of Internet Express PostgreSQL,
continue to Step 8.
To upgrade to this new Internet Express version from a previous version:
a. Back up your PostgreSQL databases using the standard backup method.
Installing HP-UX Internet Express 23