Bug #31057 Solaris SPARC 32-bit install; scripts/mysql_install_db fails with resolveip issu
Submitted: 17 Sep 2007 12:20 Modified: 26 Sep 2007 18:23
Reporter: MC Brown Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server: Installing Severity:S3 (Non-critical)
Version:5.1.22 OS:Solaris (SPARC, 32-bit)
Assigned to: CPU Architecture:Any

[17 Sep 2007 12:20] MC Brown
Description:
Installing 32-bit PKG on SPARC, the mysql_install_db script fails with a resolveip issue. 

The problem is that the embedded bindir_extras variable is not being set correctly, and so resolveip is looked for at root level, rather than installation directory level. 

How to repeat:
$ cd /usr/local/mysql
$ ./scripts/mysql_install_db

Output: 

Neither host 'ultra3' nor 'localhost' could be looked up with
/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

Suggested fix:
Fix the identity of the current directory and therefore the setting of bindir_extras
[18 Sep 2007 6:09] Valeriy Kravchuk
Thank you for a problem report. The variable is "extra_bindir", but anyway...
[26 Sep 2007 9:32] Sveta Smirnova
Bug #31101 was marked as duplicate of this one.
[26 Sep 2007 18:23] Jonathan Perkin
Duplicate of bug#30759, will be handled there.