LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-31-2004, 08:13 AM   #1
krayz1e
Member
 
Registered: Aug 2004
Location: Sydney
Distribution: FC3
Posts: 39

Rep: Reputation: 15
msql and hostname problems


this is wat i do... when im trying 2 install mysql in CL

[root@krayzie root]# cd mysql-standard-4.0.20-pc-linux-i686-icc


[root@krayzie mysql-standard-4.0.20-pc-linux-i686-icc]# ./configure -prefix=/usr/local/myssql -localstatedir=/usr/local/mysql/data-disable-mainainer-mode-with-my-sql-user=mysql-enable-large-files-without-debug --force
NOTE: This is a MySQL binary distribution. It's ready to run, you don't
need to configure it!

To help you a bit, I am now going to create the needed MySQL databases
and start the MySQL server for you. If you run into any trouble, please
consult the MySQL manual, that you can find in the Docs directory.

Neither host 'krayzie' and 'localhost' could not be looked up with
./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


[root@krayzie mysql-standard-4.0.20-pc-linux-i686-icc]#


----------------------------------------------------------------------

my /etc/sysconfig/network file

NETWORKING=yes
HOSTNAME=krayzie

---------------------------------------------------------------------

my /etc/hosts file

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost



i have no idea wats going on
 
Old 08-31-2004, 12:21 PM   #2
Mikhail_16
Member
 
Registered: Oct 2003
Distribution: Gentoo rules them all
Posts: 279

Rep: Reputation: 31
Re: msql and hostname problems

Quote:
Originally posted by krayz1e
this is wat i do... when im trying 2 install mysql in CL
----------------------------------------------------------------------

my /etc/sysconfig/network file

NETWORKING=yes
HOSTNAME=krayzie

---------------------------------------------------------------------

my /etc/hosts file

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost



i have no idea wats going on
Lol, its pretty simple, all you need is to add your hostname to your /etc/hosts file, like this:

my /etc/hosts file

127.0.0.1 krayzie localhost.localdomain localhost

OR

my /etc/hosts file

[your comp's IP] krayzie
127.0.0.1 localhost.localdomain localhost


Also check that both files (/etc/sysconfig/network and /etc/hosts) are readable. Also check that you can browse the web to (say) www.google.com if you are not able to do that, then the issue lies in /etc/resolv.conf file
 
Old 08-31-2004, 04:28 PM   #3
krayz1e
Member
 
Registered: Aug 2004
Location: Sydney
Distribution: FC3
Posts: 39

Original Poster
Rep: Reputation: 15
thanks 4 the reply... but i still get the same responce..

i can browse the net from that box


any1 please.... render assistance

Last edited by krayz1e; 09-01-2004 at 01:41 AM.
 
Old 09-01-2004, 07:43 PM   #4
krayz1e
Member
 
Registered: Aug 2004
Location: Sydney
Distribution: FC3
Posts: 39

Original Poster
Rep: Reputation: 15
any 1??
 
Old 09-04-2004, 01:48 AM   #5
krayz1e
Member
 
Registered: Aug 2004
Location: Sydney
Distribution: FC3
Posts: 39

Original Poster
Rep: Reputation: 15
still cant get it working
 
  


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
msql driver problem cptnchainsaw Linux - General 4 05-05-2005 04:38 PM
Where to find my msql db r0ck Slackware 8 12-23-2004 04:39 PM
msql bm1 Slackware 2 02-05-2004 12:18 AM
p5-DBD-Msql problem Kilka *BSD 1 12-25-2003 01:41 AM
msql++ c++ api for mysql nakkaya Linux - Software 0 04-19-2003 03:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:25 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