On Sep 4, 3:32 am, Charles Polisher <cpol...@nonesuch.com> wrote:
> On 2007-09-03, thushiantha...@gmail.com <thushiantha...@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.
>
> Check the output of the hostname command. Possibly /etc/HOSTNAME
> is blank, or you've got some trouble with your startup scripts?
> On my FC5 system, /etc/rc.d/sysinit line 16 configures the hostname
> to be "localhost" if nothing else has been set.- Hide quoted text -
>
> - Show quoted text -
Thank you very much for all your replies