This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-16. For the latest, interactive version please visit https://mariadb.com/kb/.

installation issue

during installation mariadb5.5 .tar i am getting issue as following:- root@localhost mysql]# ./scripts/mysql_install_db ./scripts/mysql_install_db: line 268: ./bin/my_print_defaults: cannot execute binary file either host 'localhost.localhost' nor 'localhost' could be looked up with ./bin/resolveip please configure the 'hostname' commmand to return a correct hostname.

kindly suggest me!!!!!

Answer

Answered on the mailing list:

From: Peter Mclarty
Cc: maria-discuss <maria-discuss@lists.launchpad.net>
Subject: Re: [Maria-discuss] New Question: installation issue
Date: Fri, 21 Mar 2014 08:42:15 +1000
List-Archive: <http://lists.launchpad.net/maria-discuss>

You might like to set up your machine with a real looking but fake domain. and set your host name to something otehr than localhost.

Depending on your disrtibution of Linux, the tools might be slightly different. If you have the GUI Desktop installed on your Linux then log in as root and configure a domain and hostname set the hostname from test to whatever you want and set the domain to harald.corp for example and it will configure your networking and mariadb will be much happier

At the end when you check your /etc/hosts file it will have an entry along the lines of 192.168.1.111 test.harald.corp test

If you wish to up your skills you could also run a local DNS service for your machine on your machine

HTH

Cheers

Peter

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.