Install MySQL in Ubuntu 12.04

Source: Internet
Author: User

The following is a summary of installing MySQL in Ubuntu 12.04 over the past few days:

There are three ways to install MySQL in Linux: the first is to install the rpmbinary file separately, the second is to install the source code after compilation, and the last is to install the tar.gz file.

Among the three types, since the last is a unified overall file, I personally feel the simplest, so this article will use this method for installation:

First, download the latest tar.gz package from the mysqldownload center:

1. Enter Workbench in the browser. Here, we select the MySQL Community Server link to download the mysql database Server:

As shown above, click the "MySQL Community Server" link to go To the download page, select the myql platform, and select the Linux-Generic platform:

Then, select a tar.gz file to download it:

Select a 32-bit or 64-bit download. Select a 32-bit download file, download the file mysql-5.5.28-linux2.6-i686.tar.gz, decompress it, rename it as mysql, and use the mv command to move it to the/usr/local directory:

Sudo mv ~ /Download/mysql/usr/local

The directory structure is as follows:

Tip: The text file INSTALL-BINARY details the installation method of mysql in Linux.

  • 1
  • 2
  • 3
  • Next Page

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.