首页常见问题正文

wget下载mysql数据库时提示command not found怎么解决?

更新时间:2020-07-07 来源:黑马程序员 浏览量:


问题:wget下载mysql数据库时提示command not found怎么解决?

错误重现:

[root@itheima ~]# wget http://dev.mysql.com/get/mysqlcommunity-
release-el7-5.noarch.rpm
bash: wget: command not found...

出现以上问题的主要原因在于wget程序并没有安装。

解决方案:使用yum安装wget程序

[root@itheima ~]# yum install wget -y
...
Installed:
wget.x86_64 0:1.14-18.el7_6.1
Complete!
[root@itheima ~]# wget http://dev.mysql.com/get/mysqlcommunity-
release-el7-5.noarch.rpm



下面是黑马程序员公开的几套视频教程,可以跟着学习学习,如果想深入学习,转到运维行业,建议报班学习黑马程序员linux云计算+运维开发培训课程



分享到:
在线咨询 我要报名
和我们在线交谈!