In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
First, clean up before installation
rpm -pa |grep mysql or rpm -qa| grep -i mysqlyum remove mysql-xxx-xxxfind / -name mysqlrm -rf /xxx/xxx/xxx
Second, download the corresponding installation package
Download link: dev.mysql.com/downloads/repo/yum/
Third, install MySQL
Execute rpm file
rpm -ivh mysql57-community-release-el7-11.noarch.rpm
install MySQL
yum install mysql-community-server
Start mysql service
serivce mysql start
Get initialization password
cat /var/log/mysqld.log | grep password
Access the database, change the password.
mysql -uroot -pALTER USER 'root'@'localhost' IDENTIFIED BY 'MyNewPass4! ';
Enable remote access
use mysql;update user set host='%' where user='root';
Open 3306 port number
vim /etc/sysconfig/iptables-A INPUT -p tcp -m state --state NEW -m tcp --dport 3306 -j ACCEPTservice iptables restart
summary
The above is a small series to introduce you to the Linux yum command installation mysql8.0 tutorial detailed explanation, I hope to help you, if you have any questions please give me a message, small series will reply to you in time. Thank you very much for your support!
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.