-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
On Thu, 22 May 2003, Ben Clewett wrote:
> 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?
Do you still have a configuration file named /etc/my.cnf installed by
chance? This might explain why MySQL is choosing the wrong directory names
here. Remove (or rename) this file and try to start MySQL once again.
Bye,
LenZ
- --
For technical support contracts, visit https://order.mysql.com/?ref=mlgr
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Lenz Grimmer <lenz@stripped>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, Production Engineer
/_/ /_/\_, /___/\___\_\___/ Hamburg, Germany
<___/ www.mysql.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/
iD8DBQE+zO0sSVDhKrJykfIRApxTAJ4ktlEX6tDiZuKscxJEsiVhTGv/KwCfbYsR
a1G/x9ulb8m4caYrc3bkckI=
=if94
-----END PGP SIGNATURE-----