在centos7上安装指定版本的mysql

4 篇文章 0 订阅
3 篇文章 0 订阅

在将数据库前,需要补充如下知识点,安装数据库会用到

关于yum的补充

yum仓库优先级

问:==如果有多个仓库,是否可以设置 yum 源的优先级设定?==

可以设置,但是需要安装插件 yum-plugin-priorties,

安装完插件后,只需要在 yum 源配置文件*.repo里指定优先级即可

比如当你同时有 epel 仓库,有额外指定了某软件 repo 仓库,默认 epel 里的软件版本较低,你可以给自定义的软件添加优先级。

1.要先安装优先级插件,通过阿里云仓库安装
[root@lcds yum.repos.d]# ll
总用量 12
drwxr-xr-x. 2 root root 4096 8月   9 01:02 bak_repo
-rw-r--r--. 1 root root 2523 8月   4 2022 CentOS-Base.repo
-rw-r--r--. 1 root root  664 8月   4 2022 epel.repo


2.安装优先级插件
[root@lcds yum.repos.d]# yum install -y yum-plugin-priorities
已加载插件:fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
正在解决依赖关系
--> 正在检查事务
---> 软件包 yum-plugin-priorities.noarch.0.1.1.31-54.el7_8 将被 安装
--> 解决依赖关系完成

依赖关系解决

==============================================================================================================================================================================
 Package                                            架构                                版本                                          源                                 大小
==============================================================================================================================================================================
正在安装:
 yum-plugin-priorities                              noarch                              1.1.31-54.el7_8                               base                               29 k

事务概要
==============================================================================================================================================================================
安装  1 软件包

总下载量:29 k
安装大小:28 k
Downloading packages:
yum-plugin-priorities-1.1.31-54.el7_8.noarch.rpm                                                                                                       |  29 kB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  正在安装    : yum-plugin-priorities-1.1.31-54.el7_8.noarch                                                                                                              1/1 
  验证中      : yum-plugin-priorities-1.1.31-54.el7_8.noarch                                                                                                              1/1 

已安装:
  yum-plugin-priorities.noarch 0:1.1.31-54.el7_8                                                                                                                              

完毕!
[root@lcds yum.repos.d]# 

3.只需要修改 repo 文件,加一个优先级参数即可

如何修改 repo 文件,只需要添加一个优先级参数即可   priority=1

只需要修改 repo 文件,加一个优先级参数即可  priority=1
# 在CentOS-Base.repo 和 epel.repo 的 [base]区域末尾 添加如下5行缓存参数和优先级参数 
[root@lcds yum.repos.d]# vim CentOS-Base.repo
[root@lcds yum.repos.d]# vim epel.repo		
# 缓存参数
cachedir=/var/cache/yum/&basearch/$releasever
keepcache=1			# 缓存参数
debuglevel=2
logfile=/var/log/yum.log
priority=1			# 优先级参数,数字越小,优先级越高  

修改 yum 仓库的优先级

1.你的机器,即有本地光盘仓库-----版本1.4
2,又有阿里云的仓库---版本2.5
============================省事点,不要的仓库,移走就行了==================================
3.只需要在对应的 repo 仓库文件中,针对仓库的区域设置,添加一个参数即可  即  priority=1
priority[prai...] 优先权;优先级;重点

[root@lcds yum.repos.d]# ll   # 当前准备了3个repo仓库 默认优先去 CentOS-Base.repo 里找最新版本了
总用量 12
drwxr-xr-x. 2 root root  277 8月   9 04:55 bak_repo
-rw-r--r--. 1 root root 2632 8月   9 02:59 CentOS-Base.repo
-rw-r--r--. 1 root root  780 8月   9 04:00 epel.repo
-rw-r--r--. 1 root root   80 8月   7 15:29 local.repo
[root@lcds yum.repos.d]# cat local.repo

[local]
name=local yum repo
baseurl=file:///mnt/my_centos
enabled=1
gpgcheck=0
[root@lcds yum.repos.d]# vim local.repo
[root@lcds yum.repos.d]# cat local.repo

[local]
name=local yum repo
baseurl=file:///mnt/my_centos
enabled=1
gpgcheck=0

priority=1	# 加是优先级后,数字越小,优先级越高 yum insatll 优先去 local.repo 仓库里找
[root@lcds yum.repos.d]# 

2.yum缓存软件包 通过yum获取rpm包缓存

问:如果想把从网络源安装的软件包下载到本地方便后续使用,怎么做呢?

1.只需要开启 yum 缓存功能即可

2.通过修改配置文件开启 yum 缓存功能,如下:

[root@lcds yum.repos.d]# ls /var/cache/yum/x86_64/7/base/packages/

# 在CentOS-Base.repo 和 epel.repo 的 [base]区域末尾 添加如下5行缓存参数和优先级参数 
[root@lcds yum.repos.d]# vim CentOS-Base.repo
[root@lcds yum.repos.d]# vim epel.repo		
# 缓存参数
cachedir=/var/cache/yum/&basearch/$releasever
keepcache=1			# 缓存参数
debuglevel=2
logfile=/var/log/yum.log
priority=1			# 优先级参数,数字越小,优先级越高


还有一个办法,修改yum配置文件,前提是你有一个可用的yum源仓库
# 安装 nginx 且获取 nginx 的 rpm 包,缓存下来(存在于 epel 仓库)
修改epel.repo文件,添加如下缓存参数
keepcache=1

yum install nginx

[root@lcds ~]# ls /var/cache/yum/
x86_64

[root@lcds ~]# ls /var/cache/yum/x86_64/7/
base  epel  extras  timedhosts  timedhosts.txt  updates

[root@lcds ~]# ls /var/cache/yum/x86_64/7/base/packages/

[root@lcds ~]# find /var/cache/yum/ name *.rpm  寻找所有的 *.rpm 包

find /var/cache/yum/ -name *.rpm
[root@lcds yum.repos.d]# find /var/cache/yum/ -name *.rpm
/var/cache/yum/x86_64/7/epel/packages/zabbix6.0-6.0.19-1.el7.x86_64.rpm
/var/cache/yum/x86_64/7/epel/packages/nginx-1.20.1-10.el7.x86_64.rpm


/var/cache/yum/
/var/cache/yum/x86_64
/var/cache/yum/x86_64/7
/var/cache/yum/x86_64/7/base
---

yum clean all 
yum -rf /var/cache/yum/
yum makecache

解决需求,最后安装MySQL-5.6.43

在哥讲了这么多知识储备后,现在让你去解决这个需求,你会了吗?

1.用本地光盘仓库安装 mysql
2.用网络仓库安装 mysql
1.获取软件的rpm包 ,也要想办法找到 mysql-5.6.43这个rpm包 具体是用 rpm 安装,还是 yum 安装
2.mysql-5.6.43.tar.gz 编译安装
3,配置 yum 仓库
-本地光盘
-阿里云 yum 源
-自建 yum 仓库文件夹
4.去 mysql官网,寻找该软件的下载地址,设置为 yum 仓库即可
https://dev.mysql.com/downloads/repo/yum/

wget https://repo.mysql.com//mysql80-community-release-el7-5.noarch.rpm

https://dev.mysql.com/downloads/file/?id=521397

https://repo.mysql.com//mysql80-community-release-el7-9.noarch.rpm

# mysql官方仓库
https://repo.mysql.com/

一. 配置本地 yum 源

(一) 挂载镜像到本地

去除其他无用 repo 文件先

[root@lcds yum.repos.d]# ls
bak_repo  CentOS-Base.repo  epel.repo  local.repo

[root@lcds yum.repos.d]# yum install mysql-5.6.43 -y
已加载插件:fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
local                                                                                                                                                  | 3.6 kB  00:00:00     
(1/2): local/group_gz                                                                                                                                  | 3.5 kB  00:00:00     
(2/2): local/primary_db                                                                                                                                | 832 kB  00:00:00     
5154 packages excluded due to repository priority protections
没有可用软件包 mysql-5.6.43。
错误:无须任何处理

因此,本地光盘源,这个没法解决问题

二.使用阿里云提供的yum仓库

[root@lcds yum.repos.d]# yum install mysql
已加载插件:fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
5154 packages excluded due to repository priority protections
正在解决依赖关系
--> 正在检查事务
---> 软件包 mariadb.x86_64.1.5.5.68-1.el7 将被 安装
总下载量:8.8 M
安装大小:49 M
Is this ok [y/d/N]: N
Exiting on user command
您的事务已保存,请执行:
 yum load-transaction /tmp/yum_save_tx.2023-08-09.06-14.xXAUYY.yumtx 重新执行该事务

不符合要求,按N 取消

三. 配置 mysql 官网 yum 仓库

我们会发现,多种配置 yum 源的方式,是用来解决各种常见下的问题,因此你都德掌握执行技能对工作里不同的场景。想找个需要安装特定版本的需求,配置官网的的 yum 源,是最靠谱的方式

1.找到合适你当前服务器的MySQL官方仓库
https://dev.mysql.com/downloads/repo/yum/

如何寻找mysql的yum源官方地址如下:

安装mysql官方仓库 MySQL :: Download MySQL Yum Repository

编写mysql配置文件mysql.repo

1.打开官网 https://dev.mysql.com/downloads/repo/yum/  找到之间需要的版本,点击 Download 进入新页面找到 No,Thinks...  在下载地方复制路径 https://repo.mysql.com//mysql80-community-release-el7-9.noarch.rpm,找到 https://repo.mysql.com/,这就是官方mysql的 yum源官网

2 # mysql官方 yum 源仓库地址  https://repo.mysql.com/
打开以后拉到底找到 yum/ 点击进去 找到需要的 mysql-5.6-community 点击去
接着继续顺序找到 el/  =>  7/  =>  x86_64/  => mysql-community-bench-5.6.43-2.el7.x86_64.rpm
复制链接 wget  https://repo.mysql.com/https://repo.mysql.com/yum/mysql-5.6-community/el/7/x86_64/mysql-community-bench-5.6.43-2.el7.x86_64.rpm 
就可以下载了

3.mysql 下载的 yum 仓库地址
https://repo.mysql.com/yum/mysql-5.6-community/el/7/x86_64/

4.找到mysql具体下载链接如下
https://repo.mysql.com//mysql80-community-release-fc37-2.noarch.rpm # 下载链接复制的地址
https://repo.mysql.com/https://repo.mysql.com/yum/mysql-5.6-community/el/7/x86_64/mysql-community-bench-5.6.43-2.el7.x86_64.rpm

https://repo.mysql.com/yum/mysql-5.6-community/el/7/x86_64/mysql-community-bench-5.6.43-2.el7.x86_64.rpm

5.通过分析其 url , 找到 mysql-5.6 版本的 rpm 包,集合地方

6.创建 mysql 配置文件
	# 把 /etc/yum.repos.d/ 目录下的所有 *.repo 文件清理干净,此时没有任何 yum 源可以使用
	# 然后清空缓存 yum clean all rm -rf /var/cache/yum/
	# 创建一个指定地址的一个安装 mysql-5.6.43 指定版本的仓库 mysql5643.repo 文件
	#  vim mysql5643.repo
	[mysql56]
	name='This is mysql-5.6.43 server rpm'
	baseurl=https://repo.mysql.com/yum/mysql-5.6-community/el/7/x86_64/
	enabled=1
	gpgchick=0
	:wq
	保存退出
	
7. 安装对应版本即可
[root@lcds yum.repos.d]# yum install mysql-community-server-5.6.43  --skip-broken


因为依赖关系问题而跳过的软件包:
    mysql-community-client-5.6.51-2.el7.x86_64 来自 mysql56
    mysql-community-common-5.6.43-2.el7.x86_64 来自 mysql56
    mysql-community-libs-5.6.51-2.el7.x86_64 来自 mysql56
    mysql-community-server-5.6.43-2.el7.x86_64 来自 mysql56

	
	# 默认给你找了一个该版本最新的版本给你
	[root@lcds yum.repos.d]# yum list | grep mysql
	Repository mysql56 is listed more than once in the configuration
mysql-community-bench.x86_64            5.6.51-2.el7                   mysql56  
mysql-community-client.i686             5.6.51-2.el7                   mysql56  
mysql-community-client.x86_64           5.6.51-2.el7                   mysql56  
mysql-community-common.i686             5.6.51-2.el7                   mysql56  
mysql-community-common.x86_64           5.6.51-2.el7                   mysql56  
mysql-community-devel.i686              5.6.51-2.el7                   mysql56  
mysql-community-devel.x86_64            5.6.51-2.el7                   mysql56  
mysql-community-embedded.i686           5.6.51-2.el7                   mysql56  
mysql-community-embedded.x86_64         5.6.51-2.el7                   mysql56  
mysql-community-embedded-devel.i686     5.6.51-2.el7                   mysql56  
mysql-community-embedded-devel.x86_64   5.6.51-2.el7                   mysql56  
mysql-community-libs.i686               5.6.51-2.el7                   mysql56  
mysql-community-libs.x86_64             5.6.51-2.el7                   mysql56  
mysql-community-server.x86_64           5.6.51-2.el7                   mysql56  
mysql-community-test.x86_64             5.6.51-2.el7                   mysql56  
mysql-ref-manual-5.6-en-html-chapter.noarch
                                        1-20210105                     mysql56  
mysql-ref-manual-5.6-en-pdf.noarch      1-20210105                     mysql56  

[root@lcds yum.repos.d]# yum list | grep mysql-5.6.43
Repository mysql56 is listed more than once in the configuration
存储库mysql-56在配置中不止一次被列出

配置mysql-5.6.43数据库的 yum 源

1.清空 /etc/yum.repos.d/ 目录的 yum 源
[root@lcds ~]# cd /etc/yum.repos.d/
[root@lcds yum.repos.d]# ll
总用量 12
drwxr-xr-x. 2 root root  277 8月   9 04:55 bak_repo
-rw-r--r--. 1 root root 2632 8月   9 02:59 CentOS-Base.repo
-rw-r--r--. 1 root root  780 8月   9 04:00 epel.repo
-rw-r--r--. 1 root root   92 8月   9 04:57 local.repo
[root@lcds yum.repos.d]# rename repo repp *.repo
[root@lcds yum.repos.d]# ll
总用量 12
drwxr-xr-x. 2 root root  277 8月   9 04:55 bak_repo
-rw-r--r--. 1 root root 2632 8月   9 02:59 CentOS-Base.repp
-rw-r--r--. 1 root root  780 8月   9 04:00 epel.repp
-rw-r--r--. 1 root root   92 8月   9 04:57 local.repp

2.清空缓存
[root@lcds yum.repos.d]# yum clean all
已加载插件:fastestmirror, priorities
Loading mirror speeds from cached hostfile
There are no enabled repos.
 Run "yum repolist all" to see the repos you have.
 To enable Red Hat Subscription Management repositories:
     subscription-manager repos --enable <repo>
 To enable custom repositories:
     yum-config-manager --enable <repo>
[root@lcds yum.repos.d]# rm -rf /var/cache/yum/

3. 创建 mysql 的 yum 源配置文件 mysql5643.repo
[root@lcds yum.repos.d]# vim mysql5643.repo
[root@lcds yum.repos.d]# cat mysql5643.repo
[mysql56]
name='This is mysql-5.6.43 server rpm'
baseurl='https://repo.mysql.com/yum/mysql-5.6-community/el/7/x86_64/'
enabled=1
gpgcheck=0

[root@lcds yum.repos.d]# vim mysql-community.repo
[root@lcds yum.repos.d]# ll
总用量 20
drwxr-xr-x. 2 root root  277 8月   9 04:55 bak_repo
-rw-r--r--. 1 root root 2632 8月   9 02:59 CentOS-Base.repp
-rw-r--r--. 1 root root  780 8月   9 04:00 epel.repp
-rw-r--r--. 1 root root   92 8月   9 04:57 local.repp
-rw-r--r--. 1 root root  140 8月   9 17:04 mysql5643.repo
-rw-r--r--. 1 root root  190 8月   9 17:32 mysql-community.repo

[root@lcds yum.repos.d]# cat mysql-community.repo
#  yuchao create mysql-5.6
[mysql56]
name=mysql5.6
baseurl=https://repo.mysql.com/yum/mysql-5.6-community/el/7/$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
[root@lcds yum.repos.d]# 

安装 mysql-5.6.43版本

确认当前的 repo 文件有哪些
因为 mysql 安装,依赖一些系统基础库,因此需要加上本地源,做支撑
https://repo.mysql.com/yum/mysql-5.6-community/el/7/x86_64/mysql-community-client-5.6.43-2.el7.i686.rpm
https://repo.mysql.com/yum/mysql-5.6-community/el/7/x86_64/mysql-community-client-5.6.43-2.el7.x86_64.rpm

[root@lcds yum.repos.d]# yum install mysql-community-server-5.6.43  --skip-broken # 跳过
此处不能跳过依赖等环境

# 安装 mysql-community-server-5.6.43
# 如果出现依赖报错,需要分析报错,解决对应的依赖关系
# 安装perl编程语言
[root@lcds yum.repos.d]# yum install perl

# 安装 mysql-community-server-5.6.43
[root@lcds yum.repos.d]# yum install mysql-community-server-5.6.43 -y
已加载插件:fastestmirror, priorities
Repository mysql56 is listed more than once in the configuration
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
mysql56                                                                                                                                                | 2.6 kB  00:00:00     
5087 packages excluded due to repository priority protections
正在解决依赖关系
--> 正在检查事务
---> 软件包 mysql-community-server.x86_64.0.5.6.43-2.el7 将被 安装
--> 正在处理依赖关系 mysql-community-common(x86-64) = 5.6.43-2.el7,它被软件包 mysql-community-server-5.6.43-2.el7.x86_64 需要
--> 正在处理依赖关系 mysql-community-client(x86-64) >= 5.6.10,它被软件包 mysql-community-server-5.6.43-2.el7.x86_64 需要
--> 正在处理依赖关系 perl(DBI),它被软件包 mysql-community-server-5.6.43-2.el7.x86_64 需要
--> 正在检查事务
---> 软件包 mysql-community-client.x86_64.0.5.6.51-2.el7 将被 安装
--> 正在处理依赖关系 mysql-community-libs(x86-64) >= 5.6.10,它被软件包 mysql-community-client-5.6.51-2.el7.x86_64 需要
---> 软件包 mysql-community-common.x86_64.0.5.6.43-2.el7 将被 安装
---> 软件包 perl-DBI.x86_64.0.1.627-4.el7 将被 安装
--> 正在处理依赖关系 perl(RPC::PlServer) >= 0.2001,它被软件包 perl-DBI-1.627-4.el7.x86_64 需要
--> 正在处理依赖关系 perl(RPC::PlClient) >= 0.2000,它被软件包 perl-DBI-1.627-4.el7.x86_64 需要
--> 正在检查事务
---> 软件包 mariadb-libs.x86_64.1.5.5.68-1.el7 将被 取代
---> 软件包 mysql-community-libs.x86_64.0.5.6.51-2.el7 将被 舍弃
---> 软件包 perl-PlRPC.noarch.0.0.2020-14.el7 将被 安装
--> 正在处理依赖关系 perl(Net::Daemon) >= 0.13,它被软件包 perl-PlRPC-0.2020-14.el7.noarch 需要
--> 正在处理依赖关系 perl(Net::Daemon::Test),它被软件包 perl-PlRPC-0.2020-14.el7.noarch 需要
--> 正在处理依赖关系 perl(Net::Daemon::Log),它被软件包 perl-PlRPC-0.2020-14.el7.noarch 需要
--> 正在处理依赖关系 perl(Compress::Zlib),它被软件包 perl-PlRPC-0.2020-14.el7.noarch 需要
--> 正在检查事务
---> 软件包 perl-IO-Compress.noarch.0.2.061-2.el7 将被 安装
--> 正在处理依赖关系 perl(Compress::Raw::Zlib) >= 2.061,它被软件包 perl-IO-Compress-2.061-2.el7.noarch 需要
--> 正在处理依赖关系 perl(Compress::Raw::Bzip2) >= 2.061,它被软件包 perl-IO-Compress-2.061-2.el7.noarch 需要
---> 软件包 perl-Net-Daemon.noarch.0.0.48-5.el7 将被 安装
--> 正在检查事务
---> 软件包 perl-Compress-Raw-Bzip2.x86_64.0.2.061-3.el7 将被 安装
---> 软件包 perl-Compress-Raw-Zlib.x86_64.1.2.061-4.el7 将被 安装
--> 解决依赖关系完成

依赖关系解决

==============================================================================================================================================================================
 Package                                             架构                               版本                                        源                                   大小
==============================================================================================================================================================================
正在安装:
 mysql-community-libs                                x86_64                             5.6.51-2.el7                                mysql56                             2.2 M
      替换  mariadb-libs.x86_64 1:5.5.68-1.el7
 mysql-community-server                              x86_64                             5.6.43-2.el7                                mysql56                              59 M
为依赖而安装:
 mysql-community-client                              x86_64                             5.6.51-2.el7                                mysql56                              21 M
 mysql-community-common                              x86_64                             5.6.43-2.el7                                mysql56                             257 k
 perl-Compress-Raw-Bzip2                             x86_64                             2.061-3.el7                                 base                                 32 k
 perl-Compress-Raw-Zlib                              x86_64                             1:2.061-4.el7                               base                                 57 k
 perl-DBI                                            x86_64                             1.627-4.el7                                 base                                802 k
 perl-IO-Compress                                    noarch                             2.061-2.el7                                 base                                260 k
 perl-Net-Daemon                                     noarch                             0.48-5.el7                                  base                                 51 k
 perl-PlRPC                                          noarch                             0.2020-14.el7                               base                                 36 k

事务概要
==============================================================================================================================================================================
安装  2 软件包 (+8 依赖软件包)

总计:84 M
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  正在安装    : mysql-community-common-5.6.43-2.el7.x86_64                                                                                                               1/11 
  正在安装    : mysql-community-libs-5.6.51-2.el7.x86_64                                                                                                                 2/11 
  正在安装    : mysql-community-client-5.6.51-2.el7.x86_64                                                                                                               3/11 
  正在安装    : 1:perl-Compress-Raw-Zlib-2.061-4.el7.x86_64                                                                                                              4/11 
  正在安装    : perl-Net-Daemon-0.48-5.el7.noarch                                                                                                                        5/11 
  正在安装    : perl-Compress-Raw-Bzip2-2.061-3.el7.x86_64                                                                                                               6/11 
  正在安装    : perl-IO-Compress-2.061-2.el7.noarch                                                                                                                      7/11 
  正在安装    : perl-PlRPC-0.2020-14.el7.noarch                                                                                                                          8/11 
  正在安装    : perl-DBI-1.627-4.el7.x86_64                                                                                                                              9/11 
  正在安装    : mysql-community-server-5.6.43-2.el7.x86_64                                                                                                              10/11 
  正在删除    : 1:mariadb-libs-5.5.68-1.el7.x86_64                                                                                                                      11/11 
  验证中      : perl-Compress-Raw-Bzip2-2.061-3.el7.x86_64                                                                                                               1/11 
  验证中      : perl-Net-Daemon-0.48-5.el7.noarch                                                                                                                        2/11 
  验证中      : mysql-community-libs-5.6.51-2.el7.x86_64                                                                                                                 3/11 
  验证中      : perl-PlRPC-0.2020-14.el7.noarch                                                                                                                          4/11 
  验证中      : mysql-community-common-5.6.43-2.el7.x86_64                                                                                                               5/11 
  验证中      : 1:perl-Compress-Raw-Zlib-2.061-4.el7.x86_64                                                                                                              6/11 
  验证中      : mysql-community-server-5.6.43-2.el7.x86_64                                                                                                               7/11 
  验证中      : perl-IO-Compress-2.061-2.el7.noarch                                                                                                                      8/11 
  验证中      : perl-DBI-1.627-4.el7.x86_64                                                                                                                              9/11 
  验证中      : mysql-community-client-5.6.51-2.el7.x86_64                                                                                                              10/11 
  验证中      : 1:mariadb-libs-5.5.68-1.el7.x86_64                                                                                                                      11/11 

已安装:
  mysql-community-libs.x86_64 0:5.6.51-2.el7                                           mysql-community-server.x86_64 0:5.6.43-2.el7                                          

作为依赖被安装:
  mysql-community-client.x86_64 0:5.6.51-2.el7             mysql-community-common.x86_64 0:5.6.43-2.el7             perl-Compress-Raw-Bzip2.x86_64 0:2.061-3.el7            
  perl-Compress-Raw-Zlib.x86_64 1:2.061-4.el7              perl-DBI.x86_64 0:1.627-4.el7                            perl-IO-Compress.noarch 0:2.061-2.el7                   
  perl-Net-Daemon.noarch 0:0.48-5.el7                      perl-PlRPC.noarch 0:0.2020-14.el7                       

替代:
  mariadb-libs.x86_64 1:5.5.68-1.el7                                                                                                                                          

完毕!
[root@lcds yum.repos.d]# 

# 查看mysql
[root@lcds yum.repos.d]# rpm -qi mysql
未安装软件包 mysql 
[root@lcds yum.repos.d]# rpm -qi mysql-community-server
Name        : mysql-community-server
Version     : 5.6.43
Release     : 2.el7
Architecture: x86_64
Install Date: 2023年08月10日 星期四 08时47分25秒
Group       : Applications/Databases
Size        : 263540469
License     : Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved. Under GPLv2 license as shown in the Description field.
Signature   : DSA/SHA1, 2018年12月22日 星期六 19时24分38秒, Key ID 8c718d3b5072e1f5
Source RPM  : mysql-community-5.6.43-2.el7.src.rpm
Build Date  : 2018年12月21日 星期五 16时20分50秒
Build Host  : siv28.no.oracle.com
Relocations : (not relocatable)
Packager    : MySQL Release Engineering <mysql-build@oss.oracle.com>
Vendor      : Oracle and/or its affiliates
URL         : http://www.mysql.com/
Summary     : A very fast and reliable SQL database server
Description :
The MySQL(TM) software delivers a very fast, multi-threaded, multi-user,
and robust SQL (Structured Query Language) database server. MySQL Server
is intended for mission-critical, heavy-load production systems as well
as for embedding into mass-deployed software. MySQL is a trademark of
Oracle and/or its affiliates

The MySQL software has Dual Licensing, which means you can use the MySQL
software free of charge under the GNU General Public License
(http://www.gnu.org/licenses/). You can also purchase commercial MySQL
licenses from Oracle and/or its affiliates if you do not wish to be bound by the terms of
the GPL. See the chapter "Licensing and Support" in the manual for
further info.

The MySQL web site (http://www.mysql.com/) provides the latest news and
information about the MySQL software.  Also please see the documentation
and the manual for more information.

This package includes the MySQL server binary as well as related utilities
to run and administer a MySQL server.

# 安装完毕后,启动mysql-5.6.43即可
找到如下脚本,即可用 systemctl 去管理启动了
[root@lcds yum.repos.d]# ls /usr/lib/systemd/system/mysqld.service
/usr/lib/systemd/system/mysqld.service

[root@lcds yum.repos.d]# systemctl start mysqld.service
[root@lcds yum.repos.d]# systemctl status mysqld.service
● mysqld.service - MySQL Community Server
   Loaded: loaded (/usr/lib/systemd/system/mysqld.service; enabled; vendor preset: disabled)
   Active: active (running) since 四 2023-08-10 09:22:16 CST; 34s ago
  Process: 7663 ExecStartPost=/usr/bin/mysql-systemd-start post (code=exited, status=0/SUCCESS)
  Process: 7336 ExecStartPre=/usr/bin/mysql-systemd-start pre (code=exited, status=0/SUCCESS)
 Main PID: 7662 (mysqld_safe)
   CGroup: /system.slice/mysqld.service
           ├─7662 /bin/sh /usr/bin/mysqld_safe --basedir=/usr
           └─7856 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --log-error=/var/log/mysqld.log --pid-file=/var/run/mysqld/... # 干活的进程

8月 10 09:22:13 lcds mysql-systemd-start[7336]: 2023-08-10 09:22:13 7592 [Note] InnoDB: FTS optimize thread exiting.
8月 10 09:22:13 lcds mysql-systemd-start[7336]: 2023-08-10 09:22:13 7592 [Note] InnoDB: Starting shutdown...
8月 10 09:22:15 lcds mysql-systemd-start[7336]: 2023-08-10 09:22:15 7592 [Note] InnoDB: Shutdown completed; log sequence number 1625987

# 查询端口3306
[root@lcds yum.repos.d]# netstat -tunlp | grep 3306
tcp6       0      0 :::3306             :::*        LISTEN      7856/mysqld #干活的进程

[root@lcds yum.repos.d]# netstat -tunlp
Active Internet connections (only servers)
通讯协议             地址端口									状态		 PID/进程名字
Proto Recv-Q Send-Q Local Address    Foreign Address         State       PID/Program name    
tcp        0      0 127.0.0.1:25     0.0.0.0:*               LISTEN      1346/master         
tcp        0      0 0.0.0.0:22       0.0.0.0:*               LISTEN      1021/sshd           
tcp6       0      0 ::1:25           :::*                    LISTEN      1346/master         
tcp6       0      0 :::3306          :::*                    LISTEN      7856/mysqld         
tcp6       0      0 :::22            :::*                    LISTEN      1021/sshd           
udp        0      0 0.0.0.0:68       0.0.0.0:*                           841/dhclient  

# 查进程
[root@lcds yum.repos.d]# ps -ef | grep mysql
mysql   7662     1  0 09:22 ?        00:00:00 /bin/sh /usr/bin/mysqld_safe --basedir=/usr
mysql   7856  7662  0 09:22 ?        00:00:01 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --log-error=/var/log/mysqld.log --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/lib/mysql/mysql.sock  # 干活的进程
root     26387  1683  0 09:30 pts/2    00:00:00 grep --color=auto mysql
[root@lcds yum.repos.d]# 

几个命令汇总
[root@lcds yum.repos.d]# rpm -qi mysql 查看 mysql 安装详细情况
[root@lcds yum.repos.d]# rpm -qi mysql-community-server 同上
[root@lcds yum.repos.d]# ls /usr/lib/systemd/system/mysqld.service #查看服务文件
/usr/lib/systemd/system/mysqld.service
[root@lcds yum.repos.d]# systemctl start mysqld.service #启动mysql服务
[root@lcds yum.repos.d]# systemctl status mysqld.service #查看 mysql 服务状态
[root@lcds yum.repos.d]# netstat -tunlp | grep 3306  #查看端口,可以看到干活的pid进程
[root@lcds yum.repos.d]# netstat -tunlp # 查看服务器连接的详细信息
[root@lcds yum.repos.d]# ps -ef | grep mysql #查看 mysql 进程信息

# 能执行基本的 sql 语句即可
1)如下是客户端命令登录  mysql -uroot -p 默认登录命令
[root@lcds yum.repos.d]# mysql -uroot -p
Enter password: 
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.6.43 MySQL Community Server (GPL)

Copyright (c) 2000, 2021, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> 
#此时你已经进入mysql交互式环境


查询数据库
mysql> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| mysql              |
| performance_schema |
+--------------------+
3 rows in set (0.00 sec)

mysql> # 能看到以上,说明你的数据库已经可以用了

# 退出数据库
mysql> exit;
Bye
[root@lcds yum.repos.d]# 

数据库的几个基本命令
 mysql -uroot -p  #  输入这个linux命令,去登录mysql,看数据库是否好用
 show databases;  # 进入数据库以后,查看数据库,出现 3 rows in set (0.00 sec) 表示数据库可用
  exit;  退出数据库命令

实操如下:
----------------------------------------------------------------------------------
[root@lcds yum.repos.d]# mysql -uroot -p  # 输入这个liunx命令,去登录mysql,看是否好用
Enter password: 
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.6.43 MySQL Community Server (GPL)

Copyright (c) 2000, 2021, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
=============================================================
mysql> show databases;      # mysql提供的SQL专用语句
+--------------------+
| Database           |
+--------------------+
| information_schema |
| mysql              |				这个`==`区域为数据库mysql的交互式界面
| performance_schema |
+--------------------+
3 rows in set (0.00 sec)

mysql> exit;					# 退出mysql
Bye
================================================================
[root@lcds yum.repos.d]#    当你回到了 linux 界面  表示mysql是可用的,已经退出了

启动数据库,登录数据库验证,如下图所示:

 

卸载mysql

你们上述安装过mysql,可能会和这个有冲突,建议输入下面命令
你可能需要执行如下的命令,清理阿里云安装的 mysql环境
注意,本操作。和其他题目无关,不要随便删东西  删东西,请看好你在做什么
yum remove mysql* mysql-* mysql mariadb* -y
perl 是底层的一种编程语言 我们得打开基础库 CentOS-Base.repo 才可以下载
[root@lcds yum.repos.d]# mv CentOS-Base.repp CentOS-Base.repo
[root@lcds yum.repos.d]# ll
总用量 20
drwxr-xr-x. 2 root root  277 8月   9 20:52 bak_repo
-rw-r--r--. 1 root root 2632 8月   9 02:59 CentOS-Base.repo
-rw-r--r--. 1 root root  780 8月   9 04:00 epel.repp
-rw-r--r--. 1 root root   92 8月   9 04:57 local.repp
-rw-r--r--. 1 root root  140 8月   9 17:44 mysql5643.repo
-rw-r--r--. 1 root root  191 8月   9 17:38 mysql-community.repo

# 安装perl编程语言
[root@lcds yum.repos.d]# yum install perl
已加载插件:fastestmirror, priorities
Repository mysql56 is listed more than once in the configuration
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
base                                                                                                                                                   | 3.6 kB  00:00:00     
extras                                                                                                                                                 | 2.9 kB  00:00:00     
mysql56                                                                                                                                                | 2.6 kB  00:00:00     
updates                                                                                                                                                | 2.9 kB  00:00:00     
(1/4): base/7/x86_64/group_gz                                                                                                                          | 153 kB  00:00:00     
(2/4): extras/7/x86_64/primary_db                                                                                                                      | 250 kB  00:00:00     
base/7/x86_64/primary_db       FAILED                                          =================================                            ] 517 kB/s |  15 MB  00:00:24 ETA 
http://mirrors.aliyuncs.com/centos/7/os/x86_64/repodata/6d0c3a488c282fe537794b5946b01e28c7f44db79097bb06826e1c0c88bad5ef-primary.sqlite.bz2: [Errno 12] Timeout on http://mirrors.aliyuncs.com/centos/7/os/x86_64/repodata/6d0c3a488c282fe537794b5946b01e28c7f44db79097bb06826e1c0c88bad5ef-primary.sqlite.bz2: (28, 'Connection timed out after 30001 milliseconds')
正在尝试其它镜像。
(3/4): base/7/x86_64/primary_db                                                                                                                        | 6.1 MB  00:00:11     
(4/4): updates/7/x86_64/primary_db                                                                                                                     |  22 MB  00:00:43     
5087 packages excluded due to repository priority protections
匹配 4:perl-5.16.3-297.el7.x86_64 的软件包已经安装。正在检查更新。
无须任何处理
[root@lcds yum.repos.d]# yum install perl* perl* -y
   保护多库版本:4:perl-libs-5.16.3-297.el7.i686 != 4:perl-libs-5.16.3-299.el7_9.x86_64

# 安装 mysql-community-server-5.6.43
# 如果出现依赖报错,需要分析报错,解决对应的依赖关系
[root@lcds yum.repos.d]# yum install mysql-community-server-5.6.43 -y 
[root@lcds yum.repos.d]# yum install mysql-community-server-5.6.43 -y
已加载插件:fastestmirror, priorities
Repository mysql56 is listed more than once in the configuration
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
mysql56                                                                                                                                                | 2.6 kB  00:00:00     
5087 packages excluded due to repository priority protections
正在解决依赖关系
--> 正在检查事务
---> 软件包 mysql-community-server.x86_64.0.5.6.43-2.el7 将被 安装
--> 正在处理依赖关系 mysql-community-common(x86-64) = 5.6.43-2.el7,它被软件包 mysql-community-server-5.6.43-2.el7.x86_64 需要
--> 正在处理依赖关系 mysql-community-client(x86-64) >= 5.6.10,它被软件包 mysql-community-server-5.6.43-2.el7.x86_64 需要
--> 正在处理依赖关系 perl(DBI),它被软件包 mysql-community-server-5.6.43-2.el7.x86_64 需要
--> 正在检查事务
---> 软件包 mysql-community-client.x86_64.0.5.6.51-2.el7 将被 安装
--> 正在处理依赖关系 mysql-community-libs(x86-64) >= 5.6.10,它被软件包 mysql-community-client-5.6.51-2.el7.x86_64 需要
---> 软件包 mysql-community-common.x86_64.0.5.6.43-2.el7 将被 安装
---> 软件包 perl-DBI.x86_64.0.1.627-4.el7 将被 安装
--> 正在处理依赖关系 perl(RPC::PlServer) >= 0.2001,它被软件包 perl-DBI-1.627-4.el7.x86_64 需要
--> 正在处理依赖关系 perl(RPC::PlClient) >= 0.2000,它被软件包 perl-DBI-1.627-4.el7.x86_64 需要
--> 正在检查事务
---> 软件包 mariadb-libs.x86_64.1.5.5.68-1.el7 将被 取代
---> 软件包 mysql-community-libs.x86_64.0.5.6.51-2.el7 将被 舍弃
---> 软件包 perl-PlRPC.noarch.0.0.2020-14.el7 将被 安装
--> 正在处理依赖关系 perl(Net::Daemon) >= 0.13,它被软件包 perl-PlRPC-0.2020-14.el7.noarch 需要
--> 正在处理依赖关系 perl(Net::Daemon::Test),它被软件包 perl-PlRPC-0.2020-14.el7.noarch 需要
--> 正在处理依赖关系 perl(Net::Daemon::Log),它被软件包 perl-PlRPC-0.2020-14.el7.noarch 需要
--> 正在处理依赖关系 perl(Compress::Zlib),它被软件包 perl-PlRPC-0.2020-14.el7.noarch 需要
--> 正在检查事务
---> 软件包 perl-IO-Compress.noarch.0.2.061-2.el7 将被 安装
--> 正在处理依赖关系 perl(Compress::Raw::Zlib) >= 2.061,它被软件包 perl-IO-Compress-2.061-2.el7.noarch 需要
--> 正在处理依赖关系 perl(Compress::Raw::Bzip2) >= 2.061,它被软件包 perl-IO-Compress-2.061-2.el7.noarch 需要
---> 软件包 perl-Net-Daemon.noarch.0.0.48-5.el7 将被 安装
--> 正在检查事务
---> 软件包 perl-Compress-Raw-Bzip2.x86_64.0.2.061-3.el7 将被 安装
---> 软件包 perl-Compress-Raw-Zlib.x86_64.1.2.061-4.el7 将被 安装
--> 解决依赖关系完成

依赖关系解决

==============================================================================================================================================================================
 Package                                             架构                               版本                                        源                                   大小
==============================================================================================================================================================================
正在安装:
 mysql-community-libs                                x86_64                             5.6.51-2.el7                                mysql56                             2.2 M
      替换  mariadb-libs.x86_64 1:5.5.68-1.el7
 mysql-community-server                              x86_64                             5.6.43-2.el7                                mysql56                              59 M
为依赖而安装:
 mysql-community-client                              x86_64                             5.6.51-2.el7                                mysql56                              21 M
 mysql-community-common                              x86_64                             5.6.43-2.el7                                mysql56                             257 k
 perl-Compress-Raw-Bzip2                             x86_64                             2.061-3.el7                                 base                                 32 k
 perl-Compress-Raw-Zlib                              x86_64                             1:2.061-4.el7                               base                                 57 k
 perl-DBI                                            x86_64                             1.627-4.el7                                 base                                802 k
 perl-IO-Compress                                    noarch                             2.061-2.el7                                 base                                260 k
 perl-Net-Daemon                                     noarch                             0.48-5.el7                                  base                                 51 k
 perl-PlRPC                                          noarch                             0.2020-14.el7                               base                                 36 k

事务概要
==============================================================================================================================================================================
安装  2 软件包 (+8 依赖软件包)

总计:84 M
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  正在安装    : mysql-community-common-5.6.43-2.el7.x86_64                                                                                                               1/11 
  正在安装    : mysql-community-libs-5.6.51-2.el7.x86_64                                                                                                                 2/11 
  正在安装    : mysql-community-client-5.6.51-2.el7.x86_64                                                                                                               3/11 
  正在安装    : 1:perl-Compress-Raw-Zlib-2.061-4.el7.x86_64                                                                                                              4/11 
  正在安装    : perl-Net-Daemon-0.48-5.el7.noarch                                                                                                                        5/11 
  正在安装    : perl-Compress-Raw-Bzip2-2.061-3.el7.x86_64                                                                                                               6/11 
  正在安装    : perl-IO-Compress-2.061-2.el7.noarch                                                                                                                      7/11 
  正在安装    : perl-PlRPC-0.2020-14.el7.noarch                                                                                                                          8/11 
  正在安装    : perl-DBI-1.627-4.el7.x86_64                                                                                                                              9/11 
  正在安装    : mysql-community-server-5.6.43-2.el7.x86_64                                                                                                              10/11 
  正在删除    : 1:mariadb-libs-5.5.68-1.el7.x86_64                                                                                                                      11/11 
  验证中      : perl-Compress-Raw-Bzip2-2.061-3.el7.x86_64                                                                                                               1/11 
  验证中      : perl-Net-Daemon-0.48-5.el7.noarch                                                                                                                        2/11 
  验证中      : mysql-community-libs-5.6.51-2.el7.x86_64                                                                                                                 3/11 
  验证中      : perl-PlRPC-0.2020-14.el7.noarch                                                                                                                          4/11 
  验证中      : mysql-community-common-5.6.43-2.el7.x86_64                                                                                                               5/11 
  验证中      : 1:perl-Compress-Raw-Zlib-2.061-4.el7.x86_64                                                                                                              6/11 
  验证中      : mysql-community-server-5.6.43-2.el7.x86_64                                                                                                               7/11 
  验证中      : perl-IO-Compress-2.061-2.el7.noarch                                                                                                                      8/11 
  验证中      : perl-DBI-1.627-4.el7.x86_64                                                                                                                              9/11 
  验证中      : mysql-community-client-5.6.51-2.el7.x86_64                                                                                                              10/11 
  验证中      : 1:mariadb-libs-5.5.68-1.el7.x86_64                                                                                                                      11/11 

已安装:
  mysql-community-libs.x86_64 0:5.6.51-2.el7                                           mysql-community-server.x86_64 0:5.6.43-2.el7                                          

作为依赖被安装:
  mysql-community-client.x86_64 0:5.6.51-2.el7             mysql-community-common.x86_64 0:5.6.43-2.el7             perl-Compress-Raw-Bzip2.x86_64 0:2.061-3.el7            
  perl-Compress-Raw-Zlib.x86_64 1:2.061-4.el7              perl-DBI.x86_64 0:1.627-4.el7                            perl-IO-Compress.noarch 0:2.061-2.el7                   
  perl-Net-Daemon.noarch 0:0.48-5.el7                      perl-PlRPC.noarch 0:0.2020-14.el7                       

替代:
  mariadb-libs.x86_64 1:5.5.68-1.el7                                                                                                                                          

完毕!
[root@lcds yum.repos.d]# 

实践过程

1.去官网mysql官网 找到 mysql 的 rpm 包 下载地址

https://repo.mysql.com//mysql80-community-release-fc37-2.noarch.rpm

https://repo.mysql.com/yum/mysql-5.6-community/el/7/x86_64/mysql-community-client-5.6.43-2.el7.x86_64.rpm

2. 创建 mysql 的 yum 配置文件
[root@lcds ~]# cd /etc/yum.repos.d/
[root@lcds yum.repos.d]# ll
总用量 12
drwxr-xr-x. 2 root root  277 8月   9 04:55 bak_repo
-rw-r--r--. 1 root root 2632 8月   9 02:59 CentOS-Base.repo
-rw-r--r--. 1 root root  780 8月   9 04:00 epel.repo
-rw-r--r--. 1 root root   92 8月   9 04:57 local.repo
[root@lcds yum.repos.d]# rename repo repp *.repo
[root@lcds yum.repos.d]# ll
总用量 12
drwxr-xr-x. 2 root root  277 8月   9 04:55 bak_repo
-rw-r--r--. 1 root root 2632 8月   9 02:59 CentOS-Base.repp
-rw-r--r--. 1 root root  780 8月   9 04:00 epel.repp
-rw-r--r--. 1 root root   92 8月   9 04:57 local.repp
[root@lcds yum.repos.d]# yum clean all
已加载插件:fastestmirror, priorities
Loading mirror speeds from cached hostfile
There are no enabled repos.
 Run "yum repolist all" to see the repos you have.
 To enable Red Hat Subscription Management repositories:
     subscription-manager repos --enable <repo>
 To enable custom repositories:
     yum-config-manager --enable <repo>
[root@lcds yum.repos.d]# rm -rf /var/cache/yum/
[root@lcds yum.repos.d]# vim mysql5643.repo
[root@lcds yum.repos.d]# cat mysql5643.repo
[mysql56]
name='This is mysql-5.6.43 server rpm'
baseurl='https://repo.mysql.com/yum/mysql-5.6-community/el/7/x86_64/'
enabled=1
gpgcheck=0
[root@lcds yum.repos.d]# 

# 查看 mysql5643.repo 源的 rpm 包
[root@lcds yum.repos.d]# yum list | grep mysql
mysql-community-bench.x86_64            5.6.51-2.el7                   mysql56  
mysql-community-client.i686             5.6.51-2.el7                   mysql56  
mysql-community-client.x86_64           5.6.51-2.el7                   mysql56  
mysql-community-common.i686             5.6.51-2.el7                   mysql56  
mysql-community-common.x86_64           5.6.51-2.el7                   mysql56  
mysql-community-devel.i686              5.6.51-2.el7                   mysql56  
mysql-community-devel.x86_64            5.6.51-2.el7                   mysql56  
mysql-community-embedded.i686           5.6.51-2.el7                   mysql56  
mysql-community-embedded.x86_64         5.6.51-2.el7                   mysql56  
mysql-community-embedded-devel.i686     5.6.51-2.el7                   mysql56  
mysql-community-embedded-devel.x86_64   5.6.51-2.el7                   mysql56  
mysql-community-libs.i686               5.6.51-2.el7                   mysql56  
mysql-community-libs.x86_64             5.6.51-2.el7                   mysql56  
mysql-community-server.x86_64           5.6.51-2.el7                   mysql56  
mysql-community-test.x86_64             5.6.51-2.el7                   mysql56  
mysql-ref-manual-5.6-en-html-chapter.noarch
                                        1-20210105                     mysql56  
mysql-ref-manual-5.6-en-pdf.noarch      1-20210105                     mysql56  
[root@lcds yum.repos.d]# 

接近尾声,mysql数据库安装就这些,一定要牢记,要安装像mysql这个B/S架构的软件,必须先安装服务器,再安装客户端。否则你的路很难走。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值