chown -R mysql.mysql /usr/local/mysql
moka@stripped wrote:
>Trying to install 4.03 from the tarball...
>Any idea whay I am doing wrong??
>Thanks, S.Alexiou
>
>Here is what I get
>...linux:/usr/local/mysql # scripts/mysql_install_db
>Installing all prepared tables
>020918 21:55:07 ./bin/mysqld: Shutdown Complete
>
>
>To start mysqld at boot time you have to copy support-
>files/mysql.server
>to the right place for your system
>
>PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root
>USER !
>This is done with:
>./bin/mysqladmin -u root password 'new-password'
>./bin/mysqladmin -u root -h linux password 'new-
>password'
>See the manual for more instructions.
>
>NOTE: If you are upgrading from a MySQL <= 3.22.10 you
>should run
>the ./bin/mysql_fix_privilege_tables. Otherwise you
>will not be
>able to use the new GRANT command!
>
>You can start the MySQL daemon with:
>cd . ; ./bin/mysqld_safe &
>
>You can test the MySQL daemon with the benchmarks in
>the 'sql-bench' directory:
>cd sql-bench ; perl run-all-tests
>
>Please report any problems with the ./bin/mysqlbug
>script!
>
>The latest information about MySQL is available on the
>web at
>http://www.mysql.com
>Support MySQL by buying support/licenses at
>https://order.mysql.com
>
>linux:/usr/local/mysql # vi INSTALL-BINARY
>linux:/usr/local/mysql # bin/mysqld_safe --user=mysql &
>[1] 13054
>linux:/usr/local/mysql # The
>file /usr/local/mysql/libexec/mysqld doesn't exist or
>is not executable
>Please do a cd to the mysql installation directory and
>restart
>this script from there as follows:
>./bin/mysqld_safe.
>
>[1]+ Exit 1 bin/mysqld_safe --
>user=mysql
>linux:/usr/local/mysql # ls -
>l /usr/local/mysql/libexec/*
>ls: /usr/local/mysql/libexec/*: No such file or
>directory
>linux:/usr/local/mysql # ls -l
>total 4908
>drwxr-xr-x 13 root mysql 542 Sep 18
>21:55 .
>drwxr-xr-x 13 root root 387 Sep 11
>18:33 ..
>-rw-r--r-- 1 root mysql 19106 Aug 24 17:34
>COPYING
>-rw-r--r-- 1 root mysql 28003 Aug 24 17:34
>COPYING.LIB
>-rw-r--r-- 1 root mysql 122323 Aug 24 16:43
>ChangeLog
>-rw-r--r-- 1 root mysql 6808 Aug 24 17:34
>INSTALL-BINARY
>-rw-r--r-- 1 root mysql 1937 Aug 24 16:43
>README
>drwxr-xr-x 2 root mysql 1231 Aug 24 17:39
>bin
>-rwxr-xr-x 1 root mysql 773 Aug 24 17:39
>configure
>drwxr-x--- 2 mysql mysql 35 Sep 12 17:00
>data
>drwxr-xr-x 2 root mysql 1331 Aug 24 17:39
>include
>drwxr-xr-x 2 root mysql 208 Aug 24 17:39
>lib
>drwxr-xr-x 2 root mysql 378 Aug 24 17:39
>man
>-rw-r--r-- 1 root mysql 2531460 Aug 24 17:32
>manual.html
>-rw-r--r-- 1 root mysql 2185064 Aug 24 17:32
>manual.txt
>-rw-r--r-- 1 root mysql 92248 Aug 24 17:32
>manual_toc.html
>drwxr-xr-x 6 root mysql 199 Aug 24 17:39
>mysql-test
>drwxr-xr-x 2 root mysql 67 Aug 24 17:39
>scripts
>drwxr-xr-x 3 root mysql 56 Aug 24 17:39
>share
>drwxr-xr-x 7 root mysql 869 Aug 24 17:39
>sql-bench
>drwxr-xr-x 2 root mysql 291 Aug 24 17:39
>support-files
>drwxr-xr-x 2 root mysql 560 Aug 24 17:39
>tests
>-rw-r--r-- 1 root root 11189 Sep 13 20:27
>typescript
>linux:/usr/local/mysql # vi INSTALL-BINARY
>
>
>
>linux:/usr/local/mysql # ./bin/mysqld_safe
>The file /usr/local/mysql/libexec/mysqld doesn't exist
>or is not executable
>Please do a cd to the mysql installation directory and
>restart
>this script from there as follows:
>./bin/mysqld_safe.
>