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