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

Installation steps for the MySQL client

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

Share

Shulou(Shulou.com)05/31 Report--

This article mainly introduces "MySQL client installation steps". In daily operation, I believe many people have doubts about MySQL client installation steps. Xiaobian consulted all kinds of information and sorted out simple and easy operation methods. I hope to help you answer the doubts of "MySQL client installation steps"! Next, please follow the small series to learn together!

I. Installation package preparation

open the website

https://www.mysql.com/downloads/

Select Community Edition

Select download version, here we choose version 5.7

Select system, version number, download bundle file

Since we only install the client, download three packages

MySQL client program

mysql-community-client-5.7.24-1.el7.x86_64.rpm

MySQL library files

mysql-community-libs-5.7.24-1.el7.x86_64.rpm

common file

mysql-community-common-5.7.24-1.el7.x86_64.rpm

II. Installation

Delete native or older databases

Execute yum command, delete MySQL lib library, service file

yum remove mysql mysql-server mysql-libs mysql-server

Execute the find command to find MySQL residual files, and then run "rm -rf filename" to delete the residual MySQL files

find / -name mysq

Verify that MySQL and related RPM packages are available on your system. If so, delete it first.

rpm -qa | grep -i mysqlrpm -qa | grep -i mariad

After executing the above command, return empty data, then you can proceed to the second step. Otherwise, delete MySQL's related package files.

RPM format installation MySQL

rpm -ivh mysql-community-common-5.7.24-1.el7.x86_64.rpm --force --nodepsrpm -ivh mysql-community-libs-5.7.24-1.el7.x86_64.rpm --force --nodepsrpm -ivh mysql-community-client-5.7.24-1.el7.x86_64.rpm --force --nodep

Verify installation results

rpm -qa|grep mysql

At this point, the study of "MySQL client installation steps" is over, hoping to solve everyone's doubts. Theory and practice can better match to help everyone learn, go and try it! If you want to continue learning more relevant knowledge, please continue to pay attention to the website, Xiaobian will continue to strive to bring more practical articles for everyone!

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

Database

Wechat

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

12
Report