LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installing MySQL on SuSe 9.3 (https://www.linuxquestions.org/questions/linux-newbie-8/installing-mysql-on-suse-9-3-a-385396/)

ivanoz 11-22-2005 01:01 AM

Installing MySQL on SuSe 9.3
 
Hey,

well I-m a newbi in this and I-m trying to install a web server on my machine, i have already installed apache and php and works fine, but i cannot install MySQL properly i tried with the yaST and after installs everything y run mysql and i get this message:

Creating MySQL privilege database and starting MySQL...
hostname: Unknown host
Neither host '' 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

If someone please knows how to solve this I'll be really thankfull

Cheers people

Ivanoz

TroelsSmit 11-22-2005 01:58 AM

write the following:
sudo echo "127.0.0.1 localhost" >> /etc/hosts

and then try again :-)


All times are GMT -5. The time now is 04:00 AM.