Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2004
    Location
    England, UK
    Posts
    10

    Unanswered: problem trying to install mysql 4.0

    Hi everyone

    I'm new here and have only just started to work with mysql.

    I've been struggling to install it on a SusE Linux 9.0 machine for a couple of days now. What I have been doing is installing it from the SuSe CD's using YasT. But when I then try to run mysql_install_db I get the following error:

    --------------
    Neither host 'RSCH-01' and 'localhost' could not 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
    ---------------

    Does anyone know I might try to resolve this problem? It would be much appreciated.

    Thanks in advance

    Ffenics

  2. #2
    Join Date
    Oct 2003
    Location
    Slovakia
    Posts
    482

    Re: problem trying to install mysql 4.0

    Originally posted by ffenics2002
    Hi everyone

    I'm new here and have only just started to work with mysql.

    I've been struggling to install it on a SusE Linux 9.0 machine for a couple of days now. What I have been doing is installing it from the SuSe CD's using YasT. But when I then try to run mysql_install_db I get the following error:

    --------------
    Neither host 'RSCH-01' and 'localhost' could not 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
    ---------------

    Does anyone know I might try to resolve this problem? It would be much appreciated.

    Thanks in advance

    Ffenics
    as root set the hostname:
    # hostname whatever_hostname

    then check for the entry in /etc/hosts for example:

    127.0.0.1 localhost locahost.localdomain localhost
    your IP whatever_hostname whatever_hostname.domainname aliased_hostname

  3. #3
    Join Date
    Oct 2003
    Location
    Slovakia
    Posts
    482

    Re: problem trying to install mysql 4.0

    Originally posted by ika
    as root set the hostname:
    # hostname whatever_hostname

    then check for the entry in /etc/hosts for example:

    127.0.0.1 localhost locahost.localdomain localhost
    your IP whatever_hostname whatever_hostname.domainname aliased_hostname
    Also little advice: Don't use YaST...

  4. #4
    Join Date
    Feb 2004
    Location
    England, UK
    Posts
    10
    Hi ika

    Thanks a lot. That worked a treat

    Ffenics

  5. #5
    Join Date
    Feb 2004
    Location
    England, UK
    Posts
    10
    Why is using YasT not such a good idea, by the way?


  6. #6
    Join Date
    Oct 2003
    Location
    Slovakia
    Posts
    482
    Originally posted by ffenics2002
    Why is using YasT not such a good idea, by the way?

    Because:
    - There is not YaST in another Linux distros just in SuSE.
    - Binary which was compiled on the same machine is optimized.
    - YaST is comfort but also is (sometimes) dummy.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •