	     Installation instructions for mysql binary release

Download the distribution from one of the WWW sites. You will end up
with a file called: mysql-version-OS.tgz

Pick a directory to put mysql in: In the following I'll use
/usr/local/mysql as install directory and mysql version VERSION
(something like 3.20.9) for SunOS5 (solaris) as an example.

All of the following instructions assume you have permission in
/usr/local.

Use the following commands to create the directory and unpack the
distribution:

  cd /usr/local
  zcat /<where ever you put it>/mysql-3.20.0-SunOS5.tgz | tar xvf -
  ln -s mysql-VERSION mysql

Create the grants database:

The default priviliges is that anybody may create/use the databases
named 'test' or starting with "test_". Root can do anyting. More
information in the FAQ.

To change the defaults edit the script before running it. The script also
start the mysqld deamon.

  scripts/mysql_install_db

If you want to start the mysql demon at a later time use:

  scripts/safe_mysqld --log

- To get perl work do the following:

  cd mysqlperl
  perl Makefile.PL
  make
  make install

If you start the scripts/safe_mysqld in the installation top directory
(mysql-VERSION) it uses the current directory for all paths.

------------------------------------------------------------

LINUX notes:

- Mysql needs at least Linux 2.0.
- The binary distribution needs libc.so.5.3.12
- The perl distribution needs perl5.003
- Mysql uses the pthread library. To get Mysql to work one must do the
  following from the Mysql distribution directory if the thread library isn't
  installed:
  cp -a linux-lib/* /lib
  /sbin/ldconfig -n /lib

------------------------------------------------------------

This should normal not be needed. If you wnat to link with other
programs use the source release. To install perl support se above.

The binary Solaris (Sparc) and Linux distribution has the following
libraries to be linked with clients:

-lmysql -lmysys -ldbug -lstrings

For binary distributions made with the configure source release,
clients have to be linked with:

-lmysqlclient

This is because the Solaris and Linux versions is the one used at TCX
in production and it is easier for us to verify bugs if the bugs can
be reported with identical libraries that we use. We will probably
make all binary releases with 'make_binary_distribution' in the
future.
