Mysql|unix
"Guide" describes how to install MySQL under the Linux/unix platform.
Installation steps under Linux:
It is recommended to use the RPM tool for MySQL database installation under Linux. The current MySQL RPM installation package is built on the SUSE Linux 7.3 system platform, but can also be installed in most other Linux platforms that support RPM and glibc. If you choose a generic RPM installation package, then RPM will be statically linked to the Linux thread. The following steps perform a standard minimized installation:
Shell> rpm-i mysql-server-version.i386.rpm
Shell> rpm-i mysql-client-version.i386.rpm
Remember to modify the initial default password when the installation is complete.
Installation steps in a UNIX environment:
Using the. Tar binary file installation requires the GNU Gunzip tool, which is the basic steps below
shell> Groupadd MySQL
shell> useradd-g MySQL MySQL
Shell> cd/usr/local
Shell> Gunzip </path/to/mysql-version-os.tar.gz | Tar xvf-
shell> ln-s Full-path-to-mysql-version-os MySQL
shell> CD MySQL
Shell> scripts/mysql_install_db--user=mysql
Shell> chown-r Root.
shell> chown-r MySQL Data
Shell> chgrp-r MySQL.
Shell> Bin/mysqld_safe--user=mysql &
Remember to modify the initial default password when the installation is complete.