I found a lot of blogs on the Internet and looked dizzy at all the steps. In the end, the hard work paid off and I finally installed it. I would like to share it 1 #yum remove MySQL mysql-* //Uninstall the original version of mysql 2 #yum install -y wget //If wget 3 is not downloaded #wget http://repo.mysql.com/mysql-community-release-el6
I found a lot of blogs on the Internet and I felt dizzy looking at the various steps. In the end, the hard work paid off and I finally installed it. I would like to organize and share it here
1> #yum remove MySQL mysql-* //Uninstall the original version of mysql
2>#yum install -y wget //If wget is not downloaded
3># wget http://repo.mysql.com/mysql-community-release-el6-5.noarch.rpm repo rpm file
4>#rpm -ivh mysql-community-release-el6-5.noarch.rpm //Install repo rpm package
5>#yum install mysql-server mysql-community-devel //Install mysql-server
6>#/etc/init.d/mysqld start //Start mysql-serve
7># mysql -uroot -p //Enter mysql
Done! If there are any errors or problems encountered, I hope everyone will comment and discuss together