MYSQL installation problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • ralf

    #1

    MYSQL installation problem

    I installed the latest mysql release on my server today (gentoo linux)
    and tried to start the mysql server after installation:

    -------------------------------
    /etc/init.d/mysql start
    *you don't appear to have the mysql database installedyet.
    *please run /usr/bin/mysql_install_d b to have this done.

    /usr/bin/mysql_install_d b
    *Neither host 'hostname' and 'localhost' could not be looked up with
    /usr/bin/resolveip
    Please configure the 'hostname' command to return a correct hostname.

    ---------------------------------

    ?? the command hostname is set and returns myhostname. !!
    Any ideas what I maybe did wrong or still need to set up??

    Thx in advance for your help.
  • Aggro

    #2
    Re: MYSQL installation problem

    ralf wrote:[color=blue]
    > I installed the latest mysql release on my server today (gentoo linux)
    > and tried to start the mysql server after installation:
    >
    > -------------------------------
    > /etc/init.d/mysql start
    > *you don't appear to have the mysql database installedyet.
    > *please run /usr/bin/mysql_install_d b to have this done.
    >
    > /usr/bin/mysql_install_d b
    > *Neither host 'hostname' and 'localhost' could not be looked up with
    > /usr/bin/resolveip
    > Please configure the 'hostname' command to return a correct hostname.
    >
    > ---------------------------------
    >
    > ?? the command hostname is set and returns myhostname. !!
    > Any ideas what I maybe did wrong or still need to set up??[/color]

    Try set up the localhost so that if you for example ping localhost it
    will return something like this:

    64 bytes from 127.0.0.1: icmp_seq=0 ttl=255 time=0.6 ms
    64 bytes from 127.0.0.1: icmp_seq=1 ttl=255 time=0.3 ms
    64 bytes from 127.0.0.1: icmp_seq=2 ttl=255 time=0.3 ms

    Or does that already work?

    Comment

    • Aggro

      #3
      Re: MYSQL installation problem

      ralf wrote:[color=blue]
      > I installed the latest mysql release on my server today (gentoo linux)
      > and tried to start the mysql server after installation:
      >
      > -------------------------------
      > /etc/init.d/mysql start
      > *you don't appear to have the mysql database installedyet.
      > *please run /usr/bin/mysql_install_d b to have this done.
      >
      > /usr/bin/mysql_install_d b
      > *Neither host 'hostname' and 'localhost' could not be looked up with
      > /usr/bin/resolveip
      > Please configure the 'hostname' command to return a correct hostname.
      >
      > ---------------------------------
      >
      > ?? the command hostname is set and returns myhostname. !!
      > Any ideas what I maybe did wrong or still need to set up??[/color]

      Try set up the localhost so that if you for example ping localhost it
      will return something like this:

      64 bytes from 127.0.0.1: icmp_seq=0 ttl=255 time=0.6 ms
      64 bytes from 127.0.0.1: icmp_seq=1 ttl=255 time=0.3 ms
      64 bytes from 127.0.0.1: icmp_seq=2 ttl=255 time=0.3 ms

      Or does that already work?

      Comment

      Working...