From: Dan Nelson Date: October 31 2001 11:43pm Subject: Re: Q about mysql_install_db under FreeBSD ports List-Archive: http://lists.mysql.com/mysql/89688 Message-Id: <20011031174325.B50504@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In the last episode (Oct 31), Atle Veka said: > Is there any good reason for ``mysql_install_db'' to use the -s > option to hostname instead of using FQDN? Every time I install mysql > 3.23 out of ports, it fails running that script and I have to edit it > manually and remove the -s option. > > # grep "/bin/hostname" work/mysql-3.23.36/scripts/mysql_install_db > hostname=`/bin/hostname -s` # Install this too in the user > table What part of the script fails? Our /bin/hostname supports the -s option. The reason is so you don't have to type the fqdn of the hostname just to look at a logfile. -- Dan Nelson dnelson@stripped