Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Database \ To install MySQL on Linux     - linux system optimization and security configuration (Linux)

- wget command usage Explanation (Linux)

- Nagios (centreon) monitoring Linux Log (Server)

- MySQL service failed to start thinking of settlement under CentOS7 (Database)

- Upgrade to Linux Mint 16 petra Mint 17 Qiana (Linux)

- VMware virtual machine can not start VMnet0 no Internet access and other issues (Linux)

- Oracle 11g em start newspaper site's security certificate has a solution to the problem (Database)

- C language keywords Comments (Programming)

- Github Remote Assistance (Linux)

- Define and modify strings principle in Python (Programming)

- Several SQL Server data migration / Export Import Practice (Database)

- Vim simple configuration (Linux)

- Vim highlight lookup operation (Linux)

- Oracle how to assess the true concurrent session (Database)

- Ubuntu Server 14.04 installation Web server (Linux + Apache + MySQL + PHP) (Server)

- Orionode source Linux Mint installation (Linux)

- How to Install Apache on Linux servers (Server)

- Linux Task Scheduler (at, crontab) (Linux)

- Ubuntu 12.04 installed OpenCV 2.3.1, binary image (Linux)

- After Oracle 11g dataguard failover rebuild the archive logs are not applied to be NO problem (Database)

  To install MySQL on Linux
  Add Date : 2017-08-31      
  Simple to explain the process of installing MySQL 5.6.15 under Linux, we hope to be useful.

1. Download MySQL 5.6
Download page: http://dev.mysql.com/downloads/mysql/
Here, select the "Red Hat Enterprise Linux 6 / Oracle Linux 6 (x86, 32-bit), RPM Bundle" download, download to / root / Downloads / directory, download the file name "MySQL-5.6.15-1.el6 .i686.rpm-bundle.tar "

2. Unzip the tar package
Cd / root / Downloads /
Tar -xvf MySQL-5.6.15-1.el6.i686.rpm-bundle.tar

3. Install MySQL as RPM
In the RHEL system, you must first install the "MySQL-shared-compat-5.6.15-1.el6.i686.rpm" this compatibility package, and then to install the server and client, or installation error.
Yum install MySQL-shared-compat-5.6.15-1.el6.i686.rpm # RHEL compatible packages
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 # The 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 # The shared library for MySQL

4. Configure the MySQL login password
Cat /root/.mysql_secret # Get the random password generated when MySQL is installed
Service mysql start # Start the MySQL service
Mysql -uroot-p # into MySQL, before using the random password
SET PASSWORD FOR 'root' @ 'localhost' = PASSWORD ( 'password'); # In the MySQL command line to set the root account password password
 Quit # Exit the MySQL command line
Service mysql restart # Restart the MySQL service
- MySQL migration tool used in the production environment (Database)
- Oracle PL / SQL based cursor (Database)
- ARP spoofing prevent Linux environment LAN (Linux)
- Ubuntu and Derivatives users install the latest KKEdit 0.0.31 (Linux)
- Build your own Python coding environment (Linux)
- MySQL development common query summary (Database)
- Ubuntu 15.04 and Ubuntu 14.04 installed Cinnamon 2.6 (Linux)
- Ubuntu FAQ solutions (Linux)
- OpenCV 3.0 + Python 2.7 installation and testing under Ubuntu 14.04 (Linux)
- JavaScript prototype and prototype chain and project combat (Programming)
- Java reflection summary (Programming)
- To batch create users under Linux (Linux)
- Let 32 Linux / CentOS system to support more than 4G memory (Linux)
- How to make GRub instead of the default Ubuntu software center (Linux)
- Docker Build a Java compiler environment (Linux)
- Samba public folder permissions (Server)
- To create a problem by the statement date comparison of the difference between MySQL and Oracle (Database)
- C language programming entry - macro definitions and enum (Programming)
- How to monitor Linux system performance Nmon (Linux)
- The Linux firewall is configured to use proxy (Linux)
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.