I use binaryto install the file named mysql-standard-5.0.18-linux-i686-glibc23.tar.gz.
[1] decompress the above file to a certain place and change the directory name of MySQL to mysql. The result should be as follows:/home/jiang/mysql
[2] INSTALL Based on the INSTALL-BINARY file in the mysql directory
// Add the user group mysql and the user mysql. You do not need to modify this command.
Shell> groupadd mysql
Shell> useradd-g mysql
// The main purpose of the following three steps is to extract a link to the MySQL directory and put it in the usr/local directory.
// First, enter the/usr/local directory. You do not need to modify this command.
Shell> cd/usr/local
// This step is not required because it has been decompressed.
Shell> gunzip // create a link to/home/jiang/mysql and put it in/usr/local. The name of the link is mysql.
// Modify the command to ln-s/home/jiang/mysql
Shell> ln-s FULL-PATH-TO-MYSQL-VERSION-OS mysql
// Enter the/home/jiang/mysql directory./usr/local/mysql is the link to/home/jiang/mysql.
Shell> cd mysql
[Content navigation] |
Page 1st: Installation Guide for MySQL in Linux |
Page 2nd: Installation Guide for MySQL in Linux |