Hi,
I've downloaded this version of MySQL for Linux, and following carefully
the instructions in INSTALL-BINARY, have found this definitelly does not
work. The instuctions:
shell> groupadd mysql
shell> useradd -g mysql mysql
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 &
Complete, but then running the final deamon gives:
touch: creating `/var/lib/mysql/mysqld.log': No such file or directory
chown: getting attributes of `/var/lib/mysql/mysqld.log': No such file
or directory
Starting mysqld daemon with databases from /usr/local/mysql/data
bin/safe_mysqld: /var/lib/mysql/mysqld.log: No such file or directory
bin/safe_mysqld: /var/lib/mysql/mysqld.log: No such file or directory
tee: /var/lib/mysql/mysqld.log: No such file or directory
030522 15:29:46 mysqld ended
tee: /var/lib/mysql/mysqld.log: No such file or directory
[1]+ Exit 1 bin/safe_mysqld --user=mysql
Looking at my system, the install has not created /var/lib/mysql, or in
fact created any *mysql* file outside /usr/local/mysql.
Can you please tell me where I am going wrong?
Thanks.
Ben