CentOS 6.2 yum 安裝MySQL初始化警告的解決方法
發(fā)布時(shí)間:2012-10-13 23:14:55 作者:佚名
我要評(píng)論
CentOS 6.2 yum 安裝MySQL初始化警告的解決方法,需要的朋友可以參考下
yum install mysql-server
初始化時(shí)出現(xiàn)以下警告
[root@fengzhige etc]# /etc/rc.d/init.d/mysqld start
Initializing MySQL database: WARNING: The host 'fengzhige' could not be looked up with resolveip.
This probably means that your libc libraries are not 100 % compatible
with this binary MySQL version. The MySQL daemon, mysqld, should work
normally with the exception that host name resolving will not work.
This means that you should use IP addresses instead of hostnames
when specifying MySQL privileges !
Installing MySQL system tables...
OK
Filling help tables...
OK
按提示,把/etc/hosts添加IP和主機(jī)名即可
如[root@37 etc]# cat /etc/hosts
[root@fengzhige etc]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.10.37 fengzhige
192.168.11.37 fengzhige
本文出自 “楓之歌” 博客 出處http://fengzhige.blog.51cto.com/3691377/1001588
初始化時(shí)出現(xiàn)以下警告
[root@fengzhige etc]# /etc/rc.d/init.d/mysqld start
Initializing MySQL database: WARNING: The host 'fengzhige' could not be looked up with resolveip.
This probably means that your libc libraries are not 100 % compatible
with this binary MySQL version. The MySQL daemon, mysqld, should work
normally with the exception that host name resolving will not work.
This means that you should use IP addresses instead of hostnames
when specifying MySQL privileges !
Installing MySQL system tables...
OK
Filling help tables...
OK
按提示,把/etc/hosts添加IP和主機(jī)名即可
如[root@37 etc]# cat /etc/hosts
復(fù)制代碼
代碼如下:[root@fengzhige etc]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.10.37 fengzhige
192.168.11.37 fengzhige
本文出自 “楓之歌” 博客 出處http://fengzhige.blog.51cto.com/3691377/1001588
相關(guān)文章
- linux 用yum命令安裝mysql的步驟分享,需要的朋友可以參考下2012-04-17
centos 5 yum安裝與配置vsFTPd FTP服務(wù)器詳細(xì)步驟
vsftpd作為FTP服務(wù)器,在Linux系統(tǒng)中是非常常用的。下面我們介紹如何在centos系統(tǒng)上安裝vsftp。2011-12-19- 今天deepvps不小心誤刪除了VPS下面的yum,大家都知道yum在linux中是很重要的一個(gè)功能,軟件的下載,系統(tǒng)的更新都要靠他。沒(méi)有yum,系統(tǒng)基本處于半殘廢狀態(tài)。2010-12-20
- 安裝好yum-fastestmirror后,每次用yum安裝就會(huì)自動(dòng)檢查速度最快的鏡像了2010-11-14
- 學(xué)習(xí)linux的朋友,想必您一定聽(tīng)過(guò)大名鼎鼎的yum吧,本文將詳細(xì)介紹linux yum的使用方法,當(dāng)然我們還是更愿意您man yum,無(wú)論如何,那樣都是最為準(zhǔn)確的。2010-09-23
- 當(dāng)我們?cè)趌iunx系統(tǒng)中安裝某個(gè)軟件時(shí),經(jīng)常會(huì)遇到一些軟件的依賴(lài)問(wèn)題。yum或者Yellow dog Update或者M(jìn)odified是杜克大學(xué)為了提高RPM軟件包安裝性而開(kāi)發(fā)的一種軟件包管理器。2010-09-23
redhat linux 通過(guò)yum自動(dòng)升級(jí)
第一種方法: yum源來(lái)自chinalinuxpub.com,用的是centos包, 下載地址: http://www.chinalinuxpub.com/yum.tgz 安裝: tar zxvf yum.tgz cd yum rpm -ivh *2008-09-08- 1.列出所有可更新的軟件清單 命令:yum check-update 2.安裝所有更新軟件 命令:yum update 3.僅安裝指定的軟件 命令:yum install <package_name> 4.僅更2008-09-08
- yum安裝常用軟件的命令 #yum check-update #yum remove 軟件包名 #yum install 軟件包名 #yum update 軟件包名2008-09-08
- Yum(全 稱(chēng)為 Yellow dog Updater, Modified)是一個(gè)在Fedora,Redhat,CentOS中的Shell前端軟件包辦理器.基於RPM包辦理,可以或許從指定的服務(wù)器AUTO下載 RPM包而且安裝,可以AU2013-04-28

