Install MySQL 5.6.15 in Linux
This article briefly explains how to install MySQL 5.6.15 in Linux.
1. Download MySQL 5.6
Download Page: http://dev.mysql.com/downloads/mysql/
Select "Red Hat Enterprise Linux 6/Oracle Linux 6 (x86, 32-bit), RPM Bundle" and download it to the/root/Downloads/directory. The downloaded file is named “mysql-5.6.15-1.el6.i686.rpm-bundle.tar"
2. decompress the tar package
Cd/root/Downloads/
Tar-xvf MySQL-5.6.15-1.el6.i686.rpm-bundle.tar
3. Install MySQL in RPM Mode
In 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 files
Yum install MySQL-shared-5.6.15-1.el6.i686.rpm # MySQL shared library
4. Configure the MySQL logon Password
Cat/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
-------------------------------------- Split line --------------------------------------
How to install and configure MySQL5.7.3.0
Install MySQL in Ubuntu 14.04
MySQL authoritative guide (original book version 2nd) Clear Chinese scan PDF
Ubuntu 14.04 LTS install LNMP Nginx \ PHP5 (PHP-FPM) \ MySQL
Build a MySQL Master/Slave server in Ubuntu 14.04
Build a highly available distributed MySQL cluster using Ubuntu 12.04 LTS
Install MySQL5.6 and Python-MySQLdb in the source code of Ubuntu 12.04
MySQL-5.5.38 universal binary Installation
-------------------------------------- Split line --------------------------------------
This article permanently updates the link address: