Install mysql and yummysql in yum
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.