1. first go to the mysql official website; website: dev. mysql. comdownloads found yummysqlrepot options: 2. Find mysqlyumrepo address: dev. mysql. comdownloadsrepoyum3. Find yumrepo4 based on the specific system version and find quick instructions: 5.
1, first go to the mysql official website to find; web site: http://dev.mysql.com/downloads/ found yum mysql repot options: 2, in the above Web site to find mysql yum repo address: http://dev.mysql.com/downloads/repo/yum/ 3, find the need according to the specific system version to find the yum repo 4, find the Quick Guide: 5, through
1. First, go to the mysql official website;
Web: http://dev.mysql.com/downloads/
Yum mysql repot options found:
2. Find the mysql yum repo address on the URL above:
Http://dev.mysql.com/downloads/repo/yum/
3. Find the yum repo based on the specific system version.
4. Find the Quick Guide:
5. After reading the guide, you must first download the repo that matches the system:
6. Check whether the system version is:
Cat/etc/redhat-release
Found 6.2
Use wget to download yum repo rpm:
You should right-click the link to download the version:
Wget http://dev.mysql.com/get/mysql-community-release-el6-5.noarch.rpm
7. Use
Rpm-Uvh mysql-community-release-el6-5.noarch.rpm
8. Installation
Sudo yum install mysql-community-server
9. Start the service:
Sudo service mysqld start: note that mysqld
View status: sudo service mysqld status
10. Close the service:
Sudo service mysqld stop:
Note: The installed mysql has no password. you can log on directly and change the password.
3. Find the yum repo based on the specific system version.