In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Usually, when yum installs mysql-server, the mysql version is relatively low. If you want to install a higher version, you can import the official yum source to install it.
Install mysql5.7
1. Download the official yum source and import it
Download address: http://dev.mysql.com/downloads/repo/yum/
2. Import yum source:
1rpm-ivh mysql57-community-release-el6-8.noarch.rpm
Clear the yum cache and rebuild
1yum clean all & & yum makecache
3. Install mysql
1yum-y install mysql-community-server
Note: when installing with this official yum source, the download speed is very slow, so if it takes longer to install, it is recommended to download the RPM package and install it.
Install mysql5.6
1wget http://dev.mysql.com/get/mysql-community-release-el6-5.noarch.rpm1rpm-I mysql-community-release-el6-5.noarch.rpm
1yum install mysql-community-server.x86_64
Service mysqld start
Set the password for root: the default password is empty after installation
1#mysqladmin-uroot-hlocalhost-p password '123456-1) mysql-V mysql Ver 14.14 Distrib 5.6.33, for Linux (x86-64) using EditLine wrapper
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.