RHEL6.4 (i386) how to install MySQL5.6

Source: Internet
Author: User
1. Download MySQL5.6 download page: Small (x86, 32-bit), RPMBundle & rdquo; download, download to/root/Downloads/directory, download file name is & ldquo; MySQL-5.6.15-

1. Download MySQL 5.6

Download Page: http://dev.mysql.com/downloads/mysql/this option is selected using Red Hat Enterprise Linux 6/Oracle Linux 6 (x86, 32-bit), RPM Bundle. Download to/root/Downloads" 2. decompress the tar packageMySQL-5.6.15-1.el6.i686.rpm-bundle.tar cd/root/Downloads/tar-xvf 3. Install MySQL in RPM ModeIn the RHEL system, you must first install the MySQL-shared-compat-5.6.15-1.el6.i686.rpm compatibility package before you can install the server and client, otherwise the installation will fail. Yum install MySQL-shared-compat-5.6.15-1.el6.i686.rpm # RHEL compatible package yum install MySQL-server-5.6.15-1.el6.i686.rpm # MySQL server program yum install MySQL-client-5.6.15-1.el6.i686.rpm # MySQL client program yum install MySQL-devel-5.6.15-1.el6.i686.rpm # MySQL library and header file yum install MySQL-shared-5.6.15-1.el6.i686.rpm # MySQL shared library 4. Configure the MySQL logon PasswordCat/root/. mysql_secret # obtain the random password generated during MySQL Installation
Service mysql start # start the MySQL service
Mysql-uroot-p # Enter MySQL and use the random password obtained earlier
Set password for 'root' @ 'localhost' = PASSWORD ('Password'); # SET the password of the root account to password in the MySQL command line.
Quit # exit MySQL Command Line
Service mysql restart # restart the MySQL service

Recommended reading:

Ubuntu Nginx load Implementation of High Performance WEB Server 5 --- MySQL master synchronization http://www.linuxidc.com/Linux/2012-06/61687p5.htm

Production Environment MySQL master synchronization primary key conflict processing http://www.linuxidc.com/Linux/2013-07/86890.htm

MySQL Master/Slave failure error Got fatal error 1236 http://www.linuxidc.com/Linux/2012-02/54729.htm

MySQL master-slave replication, http://www.linuxidc.com/Linux/2013-03/81913.htm on a single server

For more information about RedHat, see RedHat topic page http://www.linuxidc.com/topicnews.aspx? Tid = 10

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.