Re: Setting up hostname
Hi Thanks for all your help, much appreciated. I edited my both the /etc/resolv.conf and /etc/hosts to include the line 'hostname 142.135.134.154' of course, that's not my real ip addy. Am i suppose to edit these files? or did you mean to edit the /etc/sysconfig/network file. THe /etc/sysconfig/network file already had the proper hostname entry in it, so i left it at that. >and after that to do final check, just run : hostname ... till it shows you >your real_host_name, if it doesn't just mail me :D when i type, hostname, i still just get my own ip addy shown to me. Do i have to reboot, or reinitialize some variables. THanks a bunch for you help. It's greatly apprecaited. REgards Desmond > >-- >Let's call it an accidental feature. > -- Larry Wall > >MySQL 3.23.51 : up 17 days, Queries : 362.846 per second (avg). _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Re: Setting up hostname
Hi there Thanks for your reply. >check your system configuration ... > >just run from shell script : hostname >and what does it show you ... WHen i run 'hostname' i get my ip address shown to me. >and then check your /etc/hosts and /etc/resolv.conf my /etc/hosts has the following in it: # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 testbox localhost.localdomain localhost my /etc/resolv.conf has the following in it: nameserver 137.82.1.1 nameserver 137.82.22.12 >after you sure your hostname has been configured properly (on OS side), >then restart your mysqld ;-) should be work by then ... I'm not too too sure how to make sure that my hostname has been configured properly. I'm still in the works of getting a domain name, so no domain name has been set up to look up the ip of my box. When I do register a domain name, I know i have to modify my httpd.conf to get apache to work, but do i have to do anything for any other system, mysql, php, or apache files? Thanks Desmond _ Chat with friends online, try MSN Messenger: http://messenger.msn.com - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Re: Setting up hostname
Pada Fri, 05 Jul 2002 14:19:21 -0700 "Desmond Lee" <[EMAIL PROTECTED]> menulis : > Hi guys > > I just managed to install mysql... yippy > > But, i had to use the '--force option' when executing the > /usr/local/mysql/scripts/mysql_install_db . > > I got a message saying that i needed to configure the hostname latter on. > So, now that mysql is isntalled i need to set up the hostname stuff. My host > name is just my ip address. And the message also said that it couldn't > lookup my host? > > I've done searches on google and the mysql documentation but i didn't get > any useful info about setting up the hostname. > > I'm just wondering if anyone out there can help me out. check your system configuration ... just run from shell script : hostname and what does it show you ... and then check your /etc/hosts and /etc/resolv.conf after you sure your hostname has been configured properly (on OS side), then restart your mysqld ;-) should be work by then ... -- Write clearly - don't be too clever. - The Elements of Programming Style (Kernighan & Plaugher) MySQL 3.23.51 : up 16 days, Queries : 368.224 per second (avg). - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php