1. Introduction to the Environment
Operating system: HP-UX b.11.31 IA64
Installation media: mysql-5.1.48-hpux11.31-ia64-64bit.depot.gz
2. Installation process
(1) Create MySQL user, user group
-G mysql-d/home/passwd MySQL
(2) Unpacking the installation package
gunzip mysql-5.1. -hpux11. -ia64-64bit.depot.gz
(3) Swinstall tool installation
# swinstall-s/tmp/mysql-5.1. -hpux11. -ia64-64bit.depot
Note: General to write full path
(4) GUI installation
SPACEBAR to select, menu bar to install
(5) Setting the owner, creating symbolic Links
# cd/usr/chown -R mysql:mysql mysql-5.1. -hpux11. -ia64-Ln -S mysql-5.1. -hpux11. -ia64-64bit MySQL
Note: The default installation is in the/usr/local/mysql-5.1.48-hpux11.31-ia64-64bit directory,
Create Symbolic link here:/usr/local/mysql
(6) Creating a system database
su -/usr/local/mysql$ scripts/mysql_install_db--user=mysql
(7) Start the database
$ cd/usr/local/mysql/bin$. /mysqld_safe--user=mysql &
(8) Remote access to other MySQL databases
192.168. 1.102 3306 -D <DB_Name>
Note: Here is a normal user, access to the remote MySQL database (here IP: 192.168.1.102)