Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Method of installing mysql in linux system

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

This article mainly introduces the linux system installation mysql method, the article content is the author carefully selected and edited, has a certain pertinence, for everyone's reference significance is still relatively great, the following with the author to understand the linux system installation mysql method.

Install mysql 5.7 on centos 7.6

1: download the rpm package of mysql5.7 's yum source under the / etc/yum.repos.d directory:

Wget http://dev.mysql.com/get/mysql57-community-release-el7-8.noarch.rpm

2: install the Yum source in the / etc/yum.repos.d directory:

Rpm-ivh mysql57-community-release-el7-8.noarch.rpm

3: update the yum source:

Yum clean all

Yum makecache

Yum update

4: go back to the root directory and find the mysql source that can be installed:

Yum search mysql

5: install mysql:

Yum install-y mysql mysql-community-server.x86_64

(always prompts faild,no such morror during installation, you can repeat step 3 and try several times)

6: change the password:

/ usr/bin/mysqladmin-u root password '1qqqq123.'

(this applies to versions below mysql 5.7)

After reading the above about linux system installation mysql method, many readers must have some understanding, if you need to get more industry knowledge and information, you can continue to follow our industry information column.

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report