RE: Problems installing mysql-max-3.23.53a linux binaries
Hi all. I resolved the problem of starting mysql server changing permissions of /tmp directory to permit user mysql write /tmp/mysql.sock. But when I start mysql server with /etc/init.d/mysql server start I get error @HOSTNAME@. prototipo mysql # /etc/init.d/mysql.server start /etc/init.d/mysql.server: @HOSTNAME@: command not found prototipo mysql # Starting mysqld daemon with databases from /usr/local/mysql/data Iago Sineiro. -Mensaje original- De: Iago Sineiro [mailto:[EMAIL PROTECTED]] Enviado el: miƩrcoles, 20 de noviembre de 2002 10:37 Para: MySql Mail List Asunto: Problems installing mysql-max-3.23.53a linux binaries Hi all. I've downloaded mysql-max-3.23.53a-pc-linux-gnu-i686.tar from www.mysql.com and tried to install it on a linux box. I followed the steps provided at http://www.mysql.com/doc/en/Installing_binary.html shell groupadd mysql (Not really, I have a mysql group) shell useradd -g mysql mysql (Not really, I have a mysql user) shell cd /usr/local shell gunzip /path/to/mysql-VERSION-OS.tar.gz | tar xvf - shell ln -s full-path-to-mysql-VERSION-OS mysql shell cd mysql shell scripts/mysql_install_db shell chown -R root . shell chown -R mysql data shell chgrp -R mysql . shell bin/safe_mysqld --user=mysql When I execute bin/safe_mysqld --user=mysql prototipo mysql # bin/safe_mysqld --user=mysql [1] 948 prototipo mysql # Starting mysqld daemon with databases from /usr/local/mysql/data 021120 12:49:15 mysqld ended If I look at mysql log: 021120 11:51:26 mysqld started 021120 11:51:26 Can't start server : Bind on unix socket: Permission denied 021120 11:51:26 Do you already have another mysqld server running on socket: /tmp/mysql.sock ? 021120 11:51:26 Aborting 021120 11:51:26 /usr/local/mysql/bin/mysqld: Shutdown Complete Also after copying a my.cnf configuration file from support-files to /etc/my.cnf and mysql.server to /etc/init.d/ if I execute /etc/init.d/mysql.server start I also get an error for variable @HOSTNAME and print-defaults: prototipo mysql # /etc/init.d/mysql.server start /etc/init.d/mysql.server: @HOSTNAME@: command not found prototipo mysql # Starting mysqld daemon with databases from /usr/local/mysql/data 021120 12:52:05 mysqld ended Iago Sineiro. - 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
Re: Problems installing mysql-max-3.23.53a linux binaries
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 20 November 2002 11:41, Iago Sineiro wrote: I resolved the problem of starting mysql server changing permissions of /tmp directory to permit user mysql write /tmp/mysql.sock. But when I start mysql server with /etc/init.d/mysql server start I get error @HOSTNAME@. prototipo mysql # /etc/init.d/mysql.server start /etc/init.d/mysql.server: @HOSTNAME@: command not found prototipo mysql # Starting mysqld daemon with databases from /usr/local/mysql/data Hmm, that's interesting. Seems like the build script did not replace this variable with the correct path to the hostname binary. For the time being, please replace @HOSTNAME@ with /bin/hostname. [SNIP] then - - pid_file=$datadir/`@HOSTNAME@`.pid + pid_file=$datadir/`/bin/hostname`.pid else [SNIP] Bye, LenZ - -- For technical support contracts, visit https://order.mysql.com/?ref=mlgr __ ___ ___ __ / |/ /_ __/ __/ __ \/ /Mr. Lenz Grimmer [EMAIL PROTECTED] / /|_/ / // /\ \/ /_/ / /__ MySQL AB, Production Engineer /_/ /_/\_, /___/\___\_\___/ Hamburg, Germany ___/ www.mysql.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (GNU/Linux) iD8DBQE923GZSVDhKrJykfIRAh+SAJ9RbPIJUZucM55fa6L9TdRBI2wAqwCdEofI hW/WYU3k48feRG3MyO7VbjU= =GCQu -END PGP SIGNATURE- - 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: Problems installing mysql-max-3.23.53a linux binaries
Thanks Lenz. Now, after modifying the init script, I don't get the advise. Iago Sineiro. -Mensaje original- De: Lenz Grimmer [mailto:[EMAIL PROTECTED]] Enviado el: miƩrcoles, 20 de noviembre de 2002 12:27 Para: Iago Sineiro CC: MySql Mail List Asunto: Re: Problems installing mysql-max-3.23.53a linux binaries -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 20 November 2002 11:41, Iago Sineiro wrote: I resolved the problem of starting mysql server changing permissions of /tmp directory to permit user mysql write /tmp/mysql.sock. But when I start mysql server with /etc/init.d/mysql server start I get error @HOSTNAME@. prototipo mysql # /etc/init.d/mysql.server start /etc/init.d/mysql.server: @HOSTNAME@: command not found prototipo mysql # Starting mysqld daemon with databases from /usr/local/mysql/data Hmm, that's interesting. Seems like the build script did not replace this variable with the correct path to the hostname binary. For the time being, please replace @HOSTNAME@ with /bin/hostname. [SNIP] then - - pid_file=$datadir/`@HOSTNAME@`.pid + pid_file=$datadir/`/bin/hostname`.pid else [SNIP] Bye, LenZ - -- For technical support contracts, visit https://order.mysql.com/?ref=mlgr __ ___ ___ __ / |/ /_ __/ __/ __ \/ /Mr. Lenz Grimmer [EMAIL PROTECTED] / /|_/ / // /\ \/ /_/ / /__ MySQL AB, Production Engineer /_/ /_/\_, /___/\___\_\___/ Hamburg, Germany ___/ www.mysql.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (GNU/Linux) iD8DBQE923GZSVDhKrJykfIRAh+SAJ9RbPIJUZucM55fa6L9TdRBI2wAqwCdEofI hW/WYU3k48feRG3MyO7VbjU= =GCQu -END PGP SIGNATURE- - 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