Re: mySQL Binaries for Linux
| From: | nabil | Date: | Mon, 08 Sep 2003 11:13:56 +0000 |
| Subject: | Re: mySQL Binaries for Linux | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-30413@lists.php.net to get a copy of this message | ||
You just untar it and copy it to a directory like /ur/local/mysql
then copy php.ini to /etc
you read the read me that is in the same directory
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 &
or
shell> bin/mysqld_safe --user=mysql &
if you are running MySQL 4.x
"John Ryan" <celticfc@iol.ie> wrote in message
news:20030902004357.95358.qmail@pb1.pair.com...
> I downloaded what I thought was Linux mySQL binaries, and the INSTALL file
> said there should be a bin directory when I untar, but there isnt! Just a
> BUILD folder and loads of make files.
>
> Did I download the wrong one?
> I downloaded mysql-standard-4.0.14-pc-linux-i686.tar.gz