Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-23-2004, 05:15 PM   #1
LQ Newbie
Registered: May 2004
Location: Guyton, GA.
Posts: 3

Rep: Reputation: 0
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

Old 05-23-2004, 05:44 PM   #2
Senior Member
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
What does the 'hostname' command say? Does that hostname pings? If not, fix those issues.
Old 05-23-2004, 08:31 PM   #3
LQ Newbie
Registered: May 2004
Location: Guyton, GA.
Posts: 3

Original Poster
Rep: Reputation: 0

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:~> ping rick
ping: unknown host rick

Thanks for the help.
Old 05-23-2004, 09:08 PM   #4
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
You'll need to add an entry for rick to point to (the loopback address) in /etc/hosts -- just follow the format of the other entries.
Old 05-24-2004, 05:00 AM   #5
LQ Newbie
Registered: May 2004
Location: Guyton, GA.
Posts: 3

Original Poster
Rep: Reputation: 0
That worked great. Thanks to both of you on the help with getting Mysql running.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Starting MySQL OLD Error : imeout error occurred trying to start MySQL Daemon Fr33B5D Linux - Software 9 10-28-2006 06:23 AM
Starting MySQL... darkarcon2015 Slackware 52 12-28-2005 05:52 AM
Starting up MySQL bwreath Linux - Software 2 01-20-2004 03:20 PM
starting mysql apax Linux - Newbie 4 12-28-2003 07:50 AM
starting mysql studentforever Linux - Software 10 09-18-2003 04:34 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:35 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration