View Single Post

   
  #2 (permalink)  
Old 02-28-2008, 11:27 AM
Jerry Stuckle
 
Posts: n/a
Default Re: error in starting mysql server ...

thushianthan15@gmail.com wrote:
> Hi everyone
>
> I am using linux ( Fedora Core 6 ) as my OS. When i
> tried to start the mysql server, by typing the following command :
>
> # /etc/init.d/mysqld start
>
> it displayed the following error message:
>
> " Initializing MySQL database: Neither host 'localhost.localdomain'
> 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 "
>
> i tried with the ' --force' option. But it didnt work.
>
> Any suggestions ? Please help me
> to solve this problem.
>


What do you get when you go to a command line and type

ping localhost

You should get returns from 127.0.0.1. If not, your tcp/ip
configuration is screwed up. Check hour /etc/hosts file.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Reply With Quote