I had to replace "@HOSTNAME@" with "HOSTNAME" in the file mysql.server on the line, pid_file=$datadir/HOSTNAME.pid. @HOSTNAME@ wasn't a valid variable.
-----Original Message----- From: Neil Aggarwal [mailto:[EMAIL PROTECTED]] Sent: Monday, October 29, 2001 10:29 AM To: Mysql list Subject: Problem installing 3.23.43 (@HOSTNAME@ command not found) Hello: I tried to set-up mysql 3.23.43 on my RedHat 7.1 server, following the binary installation instructions. Here is what I did: lynx ftp://mirror.sit.wisc.edu/mirrors/mysql/Downloads/MySQL-3.23/mysql-3.23.43-p c-linux-gnu-i686.tar.gz tar zxvf mysql-3.23.43-pc-linux-gnu-i686.tar.gz /usr/sbin/groupadd mysql /usr/sbin/useradd -g mysql mysql ln -s mysql-3.23.43-pc-linux-gnu-i686 mysql cd mysql scripts/mysql_install_db chown -R mysql /usr/local/mysql chgrp -R mysql /usr/local/mysql cp /usr/local/mysql/support-files/mysql.server /etc/rc.d/init.d/mysqld chmod +x /etc/rc.d/init.d/mysqld rm -f /etc/rc.d/rc3.d/S99mysqld rm -f /etc/rc.d/rc5.d/S99mysqld rm -f /etc/rc.d/rc0.d/K01mysqld rm -f /etc/rc.d/rc6.d/K01mysqld ln -s /etc/rc.d/init.d/mysqld /etc/rc.d/rc3.d/S99mysqld ln -s /etc/rc.d/init.d/mysqld /etc/rc.d/rc5.d/S99mysqld ln -s /etc/rc.d/init.d/mysqld /etc/rc.d/rc0.d/K01mysqld ln -s /etc/rc.d/init.d/mysqld /etc/rc.d/rc6.d/K01mysqld /etc/init.d/mysqld start I then got this error message: /etc/init.d/mysqld: @HOSTNAME@: command not found Starting mysqld daemon with databases from /usr/local/mysql/data 011029 12:23:02 mysqld ended Any ideas why this error is occurring? Thanks, Neil. -- Neil Aggarwal JAMM Consulting, Inc. (972) 612-6056, http://www.JAMMConsulting.com Custom Internet Development Websites, Ecommerce, Java, databases --------------------------------------------------------------------- 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 --------------------------------------------------------------------- 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