Linux CentOS6.5 yum install MySQL 5.6

Source: Internet
Author: User

Install directly by step

# wget # rpm -ivh mysql-community-release-el6-5.noarch.rpm[[email protected]  ~]# yum repolist all | grep mysql   Check to see if you already have MySQL installable files mysql-connectors-community        mysql  connectors community      enabled:     36mysql-connectors-community-source mysql connectors community - so  disabledmysql-tools-community              Mysql tools community           enabled:     47mysql-tools-community-source      mysql tools  Community - Source  disabledmysql55-community                  mysql 5.5 community server      disabledmysql55-community-source           MySQL 5.5 Community Server - So  disabledmysql56-community                  MySQL 5.6 Community Server      enabled:    358mysql56-community-source          MySQL  5.6 community server - so disabledmysql57-community-dmr              MySQL 5.7 Community Server Deve  disabledmysql57-community-dmr-source      mysql 5.7 community  Server deve disabled


Yum installation can

[[email protected] ~]# Yum install mysql-community-server-y after successful installation # service mysqld start set root password # mysql-u root# use MySQL ; # Update user set Password=password ("Enter the root user password here") where user= ' root '; # flush privileges; MySQL Security settings # mysql_secure_installation setting on self-launch command # Chkconfig mysqld on





This article is from the "xiangcun168" blog, make sure to keep this source http://xiangcun168.blog.51cto.com/4788340/1928907

Linux CentOS6.5 yum install MySQL 5.6

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.