Networking Forums

Networking Forums > Computer Networking > Linux Networking > Host name on my SUSE Linux causing failure in starting MySQL

Reply
Thread Tools Display Modes

Host name on my SUSE Linux causing failure in starting MySQL

 
 
Guillaume Métayer
Guest
Posts: n/a

 
      02-09-2004, 01:53 PM
Hello all,

I suck at Linux and I have got a problem now, which I'm sure is very simple.
I need to start MySQL on my SuSe Linux (most recent version) but it won't
start 'cause it says it can't resolve current address or localhost. Well,
when I use hostname it returns a string with contains a type of hexadecimal
address, but I'm sure that MySQL doesnt recognize that as a valid address...
By the way, resolveip "localhost" works and returns 127.0.0.1.

Is there a way to make my SuSe Linux's hostname return 127.0.0.1 or
localhost or something that would work with my MySQL installation?

Thanks for any help,


-----
Guillaume


 
Reply With Quote
 
 
 
 
David Efflandt
Guest
Posts: n/a

 
      02-13-2004, 12:59 AM
On Mon, 9 Feb 2004, Guillaume Métayer <(E-Mail Removed)>
wrote:
>
> I suck at Linux and I have got a problem now, which I'm sure is very simple.
> I need to start MySQL on my SuSe Linux (most recent version) but it won't
> start 'cause it says it can't resolve current address or localhost. Well,
> when I use hostname it returns a string with contains a type of hexadecimal
> address, but I'm sure that MySQL doesnt recognize that as a valid address...
> By the way, resolveip "localhost" works and returns 127.0.0.1.
>
> Is there a way to make my SuSe Linux's hostname return 127.0.0.1 or
> localhost or something that would work with my MySQL installation?


Either use a local interface with static IP (eth0, etc.) or use an extra
loopback IP for your hostname (like 127.0.0.2). I did the latter long ago
when my hostname was for static ppp0, which was not always connected, and
I had no LAN. I currently point my public dynamic DNS hostname at my
static eth0 IP in /etc/hosts (and public DNS points it at my public adsl
IP). Although, I do not do MySQL, this eliminates boot delays for
sendmail or postfix.

--
David Efflandt - All spam ignored http://www.de-srv.com/
 
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cisco E1200 causing boot up failure Dagger Network Routers 1 07-07-2011 01:09 PM
Starting remote application on SuSe Box. Szekely Szabolcs Linux Networking 0 10-19-2006 02:55 AM
Problems starting network in SuSE 9.1 Antonio Castro Linux Networking 0 11-11-2004 09:27 PM
MySql remote connectiion / access host problem. MS Linux Networking 2 07-14-2004 02:25 PM
MySql remote connectiion / access host problem. MS Linux Networking 0 07-14-2004 12:14 PM



1 2 3 4 5 6 7 8 9 10 11