双11狂欢大促

盲盒赢 定制羽绒服

开启惊喜盲盒,抽取你的专属好礼

— 惊喜奖品抢先看 —

Linux下安装mysql

engblind engblind 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
各位 我在安装mysql的时候(OS 是 RH5 )

scripts/mysql_install_db --user=mysql

总是提示:
Neither host 'localhost' nor 'localhost' could be looked up with
/usr/bin/resolveip
Please configure the 'hostname' command to return a correct hostname.
If you want to solve this at a later stage, restart this script with
the --force option

我 ping localhost ,解析为127.0.0.1,是没有问题的

下面是我的hosts文件到内容:
#Do not remove the following line,or various programs
#that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost

还请前辈指点迷津 我都快搞疯了……
...全文

相关推荐

评论 9
收藏 已收藏
分享
返回顶部
engblind
Linux/Unix社区 23,224 成员 74,535 内容