Binary distributions of MySQL for HP-UX are distributed as HP depot files or as tar files. To use the depot file you must be running at least HP-UX 10.x to have access to HP's software depot tools. To install the HP-UX tar.gz distribution, you must have a copy of GNU tar.
The HP version of MySQL was compiled on an HP 9000/8xx server under HP-UX 10.20, and uses MIT-pthreads. It is known to work well under this configuration. MySQL Version 3.22.26 and newer can also be built with HP's native thread package.
Other configurations that may work:
HP 9000/7xx running HP-UX 10.20+
HP 9000/8xx running HP-UX 10.30
The following configurations almost definitely won't work:
HP 9000/7xx or 8xx running HP-UX 10.x where x < 2
HP 9000/7xx or 8xx running HP-UX 9.x
To install the distribution, use one of the commands here, where /path/to/depot is the full pathname of the depot file:
To install everything, including the server, client and development tools:
shell> /usr/sbin/swinstall -s /path/to/depot mysql.full
To install only the server:
shell> /usr/sbin/swinstall -s /path/to/depot mysql.server
To install only the client package:
shell> /usr/sbin/swinstall -s /path/to/depot mysql.client
To install only the development tools:
shell> /usr/sbin/swinstall -s /path/to/depot mysql.developer
The depot places binaries and libraries in /opt/mysql and data in /var/opt/mysql. The depot also creates the appropriate entries in /etc/init.d and /etc/rc2.d to start the server automatically at boot time. Obviously, this entails being root to install.