Linux和华为欧拉系统下安装mysql-5.7.30详细步骤

大家好,又见面了,我是你们的朋友全栈君。  

Hello everyone, see you again, I'm your friend Quan Zhanjun.

Detailed steps to install mysql-5.7.30 under Linux [easy to understan

前言

下面记录了我在Linux环境下安装Mysql的完整过程,实操记录,

只为让更多人少踩坑,本次安装版本为:mysql-5.7.30,64位操作系统 官网下载地址:mysql-5.7.30-el7-x86_64.tar.gz 百度网盘地址:百度网盘地址 提取码:lyqh
The following records the complete process of installing Mysql in the Linux environment, practical records, just to let more people step on the pit, this installation version is: mysql-5.7.30, 64-bit operating system Official website download address: mysql-5.7.30-el7-x86_64.tar.gz Baidu network disk address: Baidu network disk address Extraction code: lyqh

1、安装前准备

1、检测系统是否自带mysql

[root@localhost /]# rpm -qa | grep mysql

2、如果是,则使用下面命令进行删除:

[root@localhost /]# rpm -e --nodeps ‘上一步查找的名称’

3、删除成功后,查询所有Mysql对应的文件夹 (After the deletion is successful, query all folders corresponding to MySQL)

[root@localhost ~]# whereis mysql
mysql: /usr/bin/mysql /usr/local/mysql
[root@localhost ~]# find / -name mysql
/run/lock/subsys/mysql
/etc/rc.d/init.d/mysql
/usr/bin/mysql
/usr/local/mysql
/usr/local/mysql/bin/mysql
/usr/local/mysql/include/mysql
/usr/local/mysql/data/mysql

</

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值