If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > problem trying to install mysql 4.0

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-18-04, 06:41
ffenics2002 ffenics2002 is offline
Registered User
 
Join Date: Feb 2004
Location: England, UK
Posts: 10
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
Reply With Quote
  #2 (permalink)  
Old 02-18-04, 08:09
ika ika is offline
Registered User
 
Join Date: Oct 2003
Location: Slovakia
Posts: 482
Re: problem trying to install mysql 4.0

Quote:
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
Reply With Quote
  #3 (permalink)  
Old 02-18-04, 08:09
ika ika is offline
Registered User
 
Join Date: Oct 2003
Location: Slovakia
Posts: 482
Re: problem trying to install mysql 4.0

Quote:
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...
Reply With Quote
  #4 (permalink)  
Old 02-18-04, 09:32
ffenics2002 ffenics2002 is offline
Registered User
 
Join Date: Feb 2004
Location: England, UK
Posts: 10
Hi ika

Thanks a lot. That worked a treat

Ffenics
Reply With Quote
  #5 (permalink)  
Old 02-18-04, 09:32
ffenics2002 ffenics2002 is offline
Registered User
 
Join Date: Feb 2004
Location: England, UK
Posts: 10
Why is using YasT not such a good idea, by the way?

Reply With Quote
  #6 (permalink)  
Old 02-18-04, 11:26
ika ika is offline
Registered User
 
Join Date: Oct 2003
Location: Slovakia
Posts: 482
Quote:
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.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On