Installation Steps in Linux:
We recommend that you use the RPM tool to install MySQL Databases in Linux. Currently, the MySQL rpm installation package is created on the SuSE Linux 7.3 system platform, but can also be installed on most other Linux platforms that support RPM and glibc. If you select the General RPM installation package, the RPM will be statically linked to the Linux thread. Follow these steps to perform a standard minimal installation:
Shell> rpm-I MySQL-server-VERSION.i386.rpmshell> rpm-I MySQL-client-VERSION.i386.rpm
After the installation is complete, remember to change the initial default password.
Installation Steps in a Unix environment:
The GNU gunzip tool is required for installation using the. Tar binary file. The basic steps are as follows:
Shell> groupadd mysqlshell> useradd-g mysql mysqlshell> cd/usr/localshell> gunzip </path/to/mysql-VERSION-OS.tar.gz | tar xvf-shell> ln-s full-path-- mysql-VERSION-OS mysqlshell> cd mysqlshell> scripts/mysql_install_db -- user = mysqlshell> chown-R root. shell> chown-R mysql datashell> chgrp-R mysql. shell> bin/mysqld_safe -- user = mysql &
After the installation is complete, remember to change the initial default password. (Bkjia.com tutorial)