CentOS 6.5 Binary Installation mysql5.6

Source: Internet
Author: User

1. Download the mysql binary package,mysql5.6, and upload it to the /usr/local directory.

2. Unzip the installation, rename mysql

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/7F/89/wKiom1chwHDT4oJFAABMIhS_f_E953.png "style=" width : 554px;height:185px; "title=" Picture 1.png "width=" 554 "height=" 185 "border=" 0 "hspace=" 0 "vspace=" 0 "alt=" Wkiom1chwhdt4ojfaabmihs_f_e953.png "/>

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/7F/87/wKioL1chwTzxmRWiAAAVB3LXzic633.png "style=" float: none; "title=" Image 2.png "alt=" Wkiol1chwtzxmrwiaaavb3lxzic633.png "/>


3. create mysql users and groups, change owner and owning group

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/7F/89/wKiom1chwJ7SWV9MAAG2ITrK8kM120.png "title=" Picture 3.png "alt=" Wkiom1chwj7swv9maag2itrk8km120.png "/>

5. Initialize

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/7F/89/wKiom1chwXeQ-qSPAAAUSZWiWBc371.png "title=" Picture 4.png "alt=" Wkiom1chwxeq-qspaaauszwiwbc371.png "/>

6.copy my.cnf to /etc/my.cnf

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/7F/89/wKiom1chwYXxvIBFAAAR8y7xxxk354.png "title=" Picture 5.png "alt=" Wkiom1chwyxxvibfaaar8y7xxxk354.png "/>

7. Edit /etc/my.cnf

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/7F/87/wKioL1chwmqQlI18AABKxobgpW0058.png "title=" Picture 6.png "alt=" Wkiol1chwmqqli18aabkxobgpw0058.png "/>

8.RM-RF my.cnf

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/7F/87/wKioL1chwnuxSq_7AAAaFr8DdJg349.png "title=" Picture 7.png "alt=" Wkiol1chwnuxsq_7aaaafr8ddjg349.png "/>

9. set up service startup

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/7F/89/wKiom1chwb3Bie5SAAAWHIUCM9g837.png "title=" Picture 8.png "alt=" Wkiom1chwb3bie5saaawhiucm9g837.png "/>

Setting environment variables to make a soft link or cp

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/7F/89/wKiom1chwmbz6T4oAAAQK5C-pUY299.png "title=" Picture 9.png "alt=" Wkiom1chwmbz6t4oaaaqk5c-puy299.png "/>

One .mysql boot

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/7F/89/wKiom1chwfSDj1NjAAAW9xTP4Q4604.png "title=" Picture 10.png "alt=" Wkiom1chwfsdj1njaaaw9xtp4q4604.png "/>

Log in to MySQL

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/7F/87/wKioL1chwxHycJm5AABFaohPaYU427.png "title=" Picture 11.png "alt=" Wkiol1chwxhycjm5aabfaohpayu427.png "/>

This article is from the "Jurchens" blog, make sure to keep this source http://6656395.blog.51cto.com/6646395/1768680

CentOS 6.5 Binary Installation mysql5.6

Related Article

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.