Record the installation of the latest version of mysql-server-5.6.20-1.el6.x86_64.rpm

Source: Internet
Author: User

I thought it was going to be a smooth finish.


MySQL installation package 64-bit, 5.6.20

http://cdn.mysql.com/Downloads/MySQL-5.6/MySQL-server-5.6.20-1.el6.x86_64.rpm



http://cdn.mysql.com/Downloads/MySQL-5.6/MySQL-client-5.6.20-1.el6.x86_64.rpm


http://cdn.mysql.com/Downloads/MySQL-5.6/MySQL-devel-5.6.20-1.el6.x86_64.rpm


Installing RPM-IVH mysql-server-5.6.20-1.el6.x86_64.rpm

And then you're prompted


File/usr/mysql/czech/errmsg.sys from install of mysql-server-5.6.20-1.el6.x86_64 conflicts with file from package mysql- Libs-5.1.73-3.el6_5.x86_64

A bunch of conflicts, the workaround is as follows:

Yum-y Remove mysql-libs-5.1.73*


When you're done, prepare to change your password.



A RANDOM PASSWORD have BEEN SET for the MySQL root USER!

You'll find that password in '/root/.mysql_secret '.



Vi/root/.mysql_secret can see the code inside.


After you log in, then change your password.


Mysql-u root-p


SET PASSWORD for ' root ' @ ' localhost ' = PASSWORD (' 123456 ')


The above command is to change the root password to 123456


Common commands:

Service MySQL start or/etc/init.d/mysql start

Service MySQL stop or/etc/init.d/mysql stop stop

Service MySQL restart or/etc/init.d/mysql restart reboot



Record the installation of the latest version of mysql-server-5.6.20-1.el6.x86_64.rpm

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.