Home > Article > Backend Development > Install mysql5.6 in linux environment, linuxmysql5.6_PHP tutorial
I found a lot of blogs on the Internet and looked dizzy looking at the various steps. In the end, the hard work paid off and I finally installed it. I would like to share it here. Just a moment
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