Installation Guide for MySQL5.0 in Linux

Source: Internet
Author: User

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

  • 1
  • 2
  • Next Page
[Content navigation]
Page 1st: Installation Guide for MySQL in Linux Page 2nd: Installation Guide for MySQL in Linux

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.