LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Help starting up mysql . (https://www.linuxquestions.org/questions/linux-software-2/help-starting-up-mysql-184951/)

rullman 05-23-2004 05:15 PM

Help starting up mysql .
 
I am using suse 9.1 and trying to run Mysql. Everytime I try to startup with Yast I get this errorr message " /etc/init.d.mysql start returned 1 (unspecified error): 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.
I feel like there is a configuration file I need to edit but I am not sure which one.

Any help would be greatly appreciated

thanks,
rcullman

ToniT 05-23-2004 05:44 PM

What does the 'hostname' command say? Does that hostname pings? If not, fix those issues.

rullman 05-23-2004 08:31 PM

mysql
 
I think I am doing what you asked. It will ping linux or localhost . I am not sure how to change this.
rick@rick:~> hostname
rick
rick@rick:~> ping rick
ping: unknown host rick
rick@rick:~>


Thanks for the help.

btmiller 05-23-2004 09:08 PM

You'll need to add an entry for rick to point to 127.0.0.1 (the loopback address) in /etc/hosts -- just follow the format of the other entries.

rullman 05-24-2004 05:00 AM

That worked great. Thanks to both of you on the help with getting Mysql running.


All times are GMT -5. The time now is 03:42 AM.