LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 05-23-2004, 06:15 PM   #1
rullman
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

thanks,
rcullman
 
Old 05-23-2004, 06:44 PM   #2
ToniT
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, 09:31 PM   #3
rullman
LQ Newbie
 
Registered: May 2004
Location: Guyton, GA.
Posts: 3

Original Poster
Rep: Reputation: 0
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.
 
Old 05-23-2004, 10:08 PM   #4
btmiller
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 127.0.0.1 (the loopback address) in /etc/hosts -- just follow the format of the other entries.
 
Old 05-24-2004, 06:00 AM   #5
rullman
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.
 
  


Reply


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 07:23 AM
Starting MySQL... darkarcon2015 Slackware 52 12-28-2005 06:52 AM
Starting up MySQL bwreath Linux - Software 2 01-20-2004 04:20 PM
starting mysql apax Linux - Newbie 4 12-28-2003 08:50 AM
starting mysql studentforever Linux - Software 10 09-18-2003 05:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:23 AM.

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