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